A dog whose owner died four months ago has refused to leave a hospital in Brazil.

The dog has been waiting outside the Santa Casa hospital in São Paulo.

Reports say he belonged to a homeless man, who was stabbed and subsequently died.

According to the financial director of Santa Casa, Osvaldo Palota Sobrinho, the dog ran alongside the ambulance to the hospital.

One woman who was at the hospital posted pictures of the dog on Facebook.

She writes: "We have a lot to learn from animals. This dog stays every day at the door of the Santa Casa de novo horizonte waiting for his owner who unfortunately passed away."

Reports say even after staff found a local kennel to take him in, he escaped and returned to the hospital.