Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:3917Muḥammad b. Bashhār > Maʿādh b. Hishām from my father > Ayyūb > Nāfiʿ > Ibn ʿUmar

that the Prophet ﷺ said: "Whoever is able to die in Al-Madinah, then let him die there, for I will intercede for those who die there."  

الترمذي:٣٩١٧حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ قَالَ حَدَّثَنَا مَعَاذُ بْنُ هِشَامٍ قَالَ حَدَّثَنِي أَبِي عَنْ أَيُّوبَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ مَنِ اسْتَطَاعَ أَنْ يَمُوتَ بِالْمَدِينَةِ فَلْيَمُتْ بِهَا فَإِنِّي أَشْفَعُ لِمَنْ يَمُوتُ بِهَا وَفِي الْبَابِ عَنْ سُبَيْعَةَ بِنْتِ الْحَارِثِ الأَسْلَمِيَّةِ هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ مِنْ هَذَا الْوَجْهِ مِنْ حَدِيثِ أَيُّوبَ السَّخْتِيَانِيِّ