She passed away outside Atlanta in the hospice care facility where she's been since June 24 ... when her family decided to take her off all meds. As we first reported, a specialist had told them there was no chance of recovery.

The family says Bobbi Kristina was surrounded by family and, "She is finally at peace in the arms of God."

Bobbi Kristina was found submerged in her bathtub on January 31, and police believe she was underwater for anywhere between 2 and 5 minutes. Paramedics were able to resuscitate her, but she was in a medically induced coma and placed on life support.

Ultimately, Pat Houston and Bobby -- co-guardians for Bobbi Kristina -- had to make the decision to withdraw medications. It was a rare moment of agreement for the Browns and Houstons ... who had battled about BK's condition throughout her hospitalization.

TMZ broke the story ... the D.A. has been gearing up for a murder case, and her boyfriend Nick Gordon would be their first person of interest. Police said there were bruises on Bobbi Kristina's face and body after Gordon and a friend, Max Lomas, found her in the tub.

Of course, Whitney died from a drug overdose in 2012 while sitting in a bathtub at the Beverly Hilton Hotel.