The 25-year-old singer and actress posted a Valentine's Day snap of Maddie on Instagram on Tuesday (14Feb17), with a caption detailing her progress and expressing her gratitude to the companies that provided her with candy to give to classmates.

“Maddie isn’t quite ready to return to school, but her doctors did clear her to bring in her Valentine’s Day treats to her class today," she wrote.

"Thanks to @avery and @hersheycompany for making these treats for her to pass out, since I didn’t have the time to make any myself this year. It made her so happy to see her friends, and be able to give them such cute treats. It was a great moment for us after everything that has happened.

"We are so thankful to celebrate Valentine’s Day with the ones we love, and we don’t take a second of it for granted. Happy Valentine's Day."

Maddie was hospitalised after she flipped her all-terrain vehicle during a ride around the family's estate in Louisiana and landed in a pond, where she lost consciousness. She was airlifted to a hospital in New Orleans, where she remained in critical condition for days.

During that time, her aunt Britney Spears and other family members took to social media to ask fans to pray for Maddie’s recovery. She was released from hospital on Friday (10Feb17).