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.
suyuti:23693a
Request/Fix translation

  

السيوطي:٢٣٦٩٣a

"مَوْتُ الرَّجُلِ في الغُرْبَةِ شَهَادَةٌ، وَإِذَا احْتُضِرَ وَرَمَى بِبَصَرِه عَنْ يَمينه فَلَمْ يَرَ إلا غَرِيبًا وَذَكَر أَهْلَهُ وَوَلَدَهُ وَتَنَفَّسَ، فَلَهُ بِكُلِّ نَفَسٍ يَتَنَفَّسُ بِهِ يَمْحُو الله بِهِ أَلْفَيْ أَلْفِ سَيِّئَةٍ، وَيَكْتُبُ لَهُ أَلْفَى أَلْفِ حَسَنَةٍ، وَيُطْبَعُ بِطَابَع الشُّهَدَاءِ إِذَا خَرَجَتْ نَفْسُهُ".  

[طب] الطبرانى في الكبير والرافعى عن وهب بن منبه عن ابن عباس

See similar narrations below:

Collected by Ṭabarānī
tabarani:11034Ḥajjāj b. ʿImrān al-Sadūsī > ʿAmr b. al-Ḥuṣayn al-ʿUqaylī > Muḥammad b. ʿAbdullāh b. ʿUlāthah > al-Ḥakam b. Abān > Wahbb. Munabbih > Ibn ʿAbbās

[Machine] The Messenger of Allah ﷺ said, "The death of a stranger is a martyrdom when he is on the verge of death and he glances to his right and left and sees nothing but strangers. He mentions his family and children, takes a breath, and with every breath he takes, Allah erases two thousand thousand sins and writes for him two thousand thousand good deeds."  

الطبراني:١١٠٣٤حَدَّثَنَا حَجَّاجُ بْنُ عِمْرَانَ السَّدُوسِيُّ ثنا عَمْرُو بْنُ الْحُصَيْنِ الْعُقَيْلِيُّ ثنا مُحَمَّدُ بْنُ عَبْدِ اللهِ بْنِ عُلَاثَةَ عَنِ الْحَكَمِ بْنِ أَبَانَ عَنْ وَهْبِ بْنِ مُنَبِّهٍ عَنِ ابْنِ عَبَّاسٍ قَالَ

قَالَ رَسُولُ اللهِ ﷺ «مَوْتُ الْغَرِيبِ شَهَادَةٌ إِذَا احْتُضِرَ فَرَمَى بِبَصَرِهِ عَنْ يَمِينِهِ وَعَنْ يَسَارِهِ فَلَمْ يَرَ إِلَّا غَرِيبًا وَذَكَرَ أَهْلَهُ وَوَلَدَهُ وَتَنَفَّسَ فَلَهُ بِكُلِّ نَفَسٍ يَتَنَفَسُّهُ يَمْحُو اللهُ أَلْفَيْ أَلْفِ سَيِّئَةٍ وَيَكْتُبُ لَهُ أَلْفَيْ أَلْفِ حَسَنَةٍ»