Hadithcore
Mishkat al-Masabih, 2750

Ibn ‘Umar reported God’s messenger as saying, “Let him who can die in Medina, for I shall intercede for those who die in it." Ahmad and Tirmidhi transmitted it, the latter saying this is a <i>hasan</i> <i>sahih</i> tradition whose <i>isnad</i> is gharib.

وَعَنِ ابْنِ عُمَرَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنِ اسْتَطَاعَ أَنْ يَمُوت بالمدية فليمت لَهَا فَإِنِّي أَشْفَعُ لِمَنْ يَمُوتُ بِهَا» . رَوَاهُ أَحْمَدُ وَالتِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيثٌ حَسَنٌ صَحِيح غَرِيب إِسْنَادًا

References1 variant
In-Book Reference
Book 10, Hadith 239