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.
tabarani:18655al-Ḥusayn b. Isḥāq al-Tustarī > Hawbar b. Muʿādh > Muḥammad b. Sulaymān b. Abū Dāwud al-Ḥarrānī > And Ḥshī b. Ḥarb b. Waḥshī b. Ḥarb from his father from his grandfather > Lammā Māt al-Najāshī

[Machine] The Messenger of Allah ﷺ said, "Indeed, your brother An-Najashi has passed away, so stand up and pray for him." A man said, "O Messenger of Allah, how do we pray for him when he died in his disbelief?" He said, "Do you not hear the saying of Allah, the Exalted and Glorious, 'And indeed, among the People of the Scripture are those who believe in Allah and what has been revealed to you and what was revealed to them.'" (Quran 3:113) until the end of the verse.  

الطبراني:١٨٦٥٥حَدَّثَنَا الْحُسَيْنُ بْنُ إِسْحَاقَ التُّسْتَرِيُّ ثنا هَوْبَرُ بْنُ مُعَاذٍ ثنا مُحَمَّدُ بْنُ سُلَيْمَانَ بْنِ أَبِي دَاوُدَ الْحَرَّانِيُّ ثنا وَحْشِيُّ بْنُ حَرْبِ بْنِ وَحْشِيِّ بْنِ حَرْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ قَالَ لَمَّا مَاتَ النَّجَاشِيُّ

قَالَ رَسُولُ اللهِ ﷺ «إِنَّ أَخَاكُمُ النَّجَاشِيَّ قَدْ مَاتَ قُومُوا فَصَلُّوا عَلَيْهِ» فَقَالَ رَجُلٌ يَا رَسُولَ اللهِ كَيْفَ نُصَلِّي عَلَيْهِ وَقَدْ مَاتَ فِي كُفْرِهِ؟ قَالَ أَلَا تَسْمَعُونَ إِلَى قَوْلِ اللهِ جَلَّ وَعَزَّ {وَإِنَّ مِنْ أَهْلِ الْكِتَابِ لِمَنْ يُؤْمِنُ بِاللهِ وَمَا أُنْزِلَ إِلَيْكُمْ وَمَا أُنْزِلَ إِلَيْهِمْ} إِلَى آخِرِ الْآيَةِ