A premature baby girl believed to have been stillborn was heard crying and whimpering in her coffin at her own funeral.
The child had been delivered and placed in the hospital's morgue ahead of her funeral.
Her mother believes the crucial hours spent in a cold hospital morgue, covered by a damp cloth killed her baby.
The baby lived for three more days after the funeral.
Her 21-year-old mother, Dafne Hernandez Marisol Trejohas, has started legal proceedings against Tulancingo General Hospital in Mexico.
The baby was born at six months gestation after her mother was induced. She was thought to have been dead in the womb after a scan revealed her umbilical cord was around her neck.
Her mother told reporters that the hospital's staff treated her with arrogance, and that the hours her baby spent in the morgue killed her.
'If it was not for their actions she might still be alive,' she said.
The state attorney in Hidalgo, Jose Rodriguez, said the baby eventually died of oxygen deprivation three days later.