Abdullah bin Amr bin Aas رضي الله عنه narrates: One of the original residents of Madinah passed away in Madinah. Rasulullah صلي الله عليه و سلم offered the janazah Salah over him and then said: If only he passed away in a place away from his birthplace. The Sahaba رضي الله عنهم asked: And why is that o RasulAllah صلي الله عليه و سلم? He صلي الله عليه و سلم replied: When a person dies away from his birthplace, the distance from his birthplace to his final footstep is measured in Jannah.
Ibn Abbas رضي الله عنهما narrates that Rasulullah صلي الله عليه و سلم said: Death in a place away from one’s hometown in martrydom.
O my Rabb… my desire is Madinah… my yearning is Madinah… my heart craves for Madinah…o Allah, grant me martrydom in Your Path and make my death be in the city of Your Rasul صلي الله عليه و سلم.