This took place somewhere in Argentina. The link at the end has the full story.
For the past 6 years, a dog named Capitán has slept on the grave of his owner every night. His owner, Miguel Guzmán died in 2006 and Capitán disappeared shortly after the family attended the funeral services. They searched everywhere and put out flyers to try and find him. But no one had seen him.
A week later, some people who were at the cemetery late one evening spotted Capitán laying on a grave and they contacted the grounds keeper at the cemetery. The cemetery notified the family who promptly came to pick him up and take him home. But each night he would cry and scratch frantically at the door to go out and he wouldn't return home until morning. It was later discovered that Capitán would walk the 3 miles back to the cemetery each night to guard his master's grave.
It has been nearly 7 years now. The cemetery does not close the gates until he arrives each night promptly at 6 pm. He sleeps there all night guarding the grave until the grounds keeper opens the gate in the morning.
Full story here:
http://www.thesun.co.uk/sol/homepage/news/4537070/Dog-sits-by-owners-grave-for-six-years.html