SALVADOR, Brazil -

A man declared dead in Brazil was found alive inside a body bag in a morgue.

Doctors declared the 54-year-old man dead after he suffered two heart attacks.

However, two hours later, the man's family went to visit his body in the morgue and noticed that the body bag was moving.

The man was rushed back to the hospital to receive treatment, and was photographed in a bed giving two thumbs up.

The hospital has opened an investigation into the incident.