Jami' at-Tirmidhi
Jami` at-Tirmidhi 2964
حَدَّثَنَا هَنَّادٌ، وَأَبُو عَمَّارٍ قَالاَ حَدَّثَنَا وَكِيعٌ، عَنْ إِسْرَائِيلَ، عَنْ سِمَاكٍ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، قَالَ لَمَّا وُجِّهَ النَّبِيُّ صلى الله عليه وسلم إِلَى الْكَعْبَةِ قَالُوا يَا رَسُولَ اللَّهِ كَيْفَ بِإِخْوَانِنَا الَّذِينَ مَاتُوا وَهُمْ يُصَلُّونَ إِلَى بَيْتِ الْمَقْدِسِ فَأَنْزَلَ اللَّهُ: (وَمَا كَانَ اللَّهُ لِيُضِيعَ إِيمَانَكُمْ ) الآيَةَ . قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ .
Unreviewed translation. All hadiths in this collection are available in five languages. Titles and introductions may remain in Arabic.
Ibn ‘Abbas reported: ‘When the Prophet was directed to face the Ka‘bah, they asked, “Messenger of Allah, what about our brothers who died while praying toward Jerusalem?” Then Allah revealed, “Allah would never let your faith go to waste” (Qur’an 2:143).’ Abu ‘Isa graded this hadith hasan sahih.
Notes and open questions — unreviewed
‘Faith’ in the quoted verse refers here to the prayers performed toward Jerusalem before the change of qiblah.