Sayyiduna Abu Umamah al-Bahili (may Allah be pleased with him) said: I heard the Messenger of Allah (peace and blessings be upon him) say: "A person has what he intends, and upon him is what he has earned. A person will be with the one he loves. Whoever dies on the edge of a path (i.e. while still attached to it) is counted among its people."
Hadith Referenceالمعجم الكبير للطبراني / باب الصاد / 7619