March 2 (UPI) -- Jamie Lynn Spears was feeling grateful Wednesday as she posed for a new photo with her daughter and mom.
The 25-year-old actress and singer shared a selfie with 8-year-old daughter Maddie Aldridge and mom Lynne Spears on Ash Wednesday following Maddie's hospitalization in February.
"#AshWednesday #Godisgood," she captioned the photo for her 1.3 million followers.
Maddie was driving an ATV on her family's property Feb. 5 in Kentwood, La., when she veered into a pond while trying to avoid a ditch and nearly drowned. She left the hospital Feb. 10 after regaining consciousness a few days prior.
"So grateful that Maddie was able to go home today... it's truly a miracle," Spears' sister, singer Britney Spears, announced at the time. "Our prayers were heard, and they were answered! Thank you so much for all of your love and support this week. My family appreciates it more than you will ever know."
Maddie has since visited her school for Valentine's Day, and returned to sports last week. Spears posted a video Feb. 21 of the 8-year-old running and jumping at her first basketball practice since her hospitalization.
"1st Basketball practice today #godisgood," she wrote.
Spears shares Maddie with ex-fiancé Casey Aldridge, from whom she split in 2010. She is known for the Nickelodeon series All That and Zoey 101, and last released the single "Sleepover" in 2016.