Sunan Abu Dawud #4680 · Model Behavior of the Prophet (Kitab Al-Sunnah)

Sunan Abu DawudIbn ‘Abbas said
Sunan Abu Dawud · Book 42 · Model Behavior of the Prophet (Kitab Al-Sunnah)
Sunan Abu Dawud · كتاب 42 · كتاب السنة
when the Prophet (May peace be upon him) turned towards the Ka’bah (in prayer), the people asked : Messenger of Allah (May peace be upon him)! what will happen with those who died while they prayed with their faces towards Jerusalem ? Allah the Exalted, then revealed : “And never would Allah make your faith of no effect.”
حَدَّثَنَا مُحَمَّدُ بْنُ سُلَيْمَانَ الأَنْبَارِيُّ، وَعُثْمَانُ بْنُ أَبِي شَيْبَةَ، - الْمَعْنَى - قَالاَ حَدَّثَنَا وَكِيعٌ، عَنْ سُفْيَانَ، عَنْ سِمَاكٍ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، قَالَ لَمَّا تَوَجَّهَ النَّبِيُّ صلى الله عليه وسلم إِلَى الْكَعْبَةِ قَالُوا يَا رَسُولَ اللَّهِ فَكَيْفَ الَّذِينَ مَاتُوا وَهُمْ يُصَلُّونَ إِلَى بَيْتِ الْمَقْدِسِ فَأَنْزَلَ اللَّهُ تَعَالَى ‏{‏ وَمَا كَانَ اللَّهُ لِيُضِيعَ إِيمَانَكُمْ ‏}‏ ‏.‏
Reference : Sunan Abu Dawud 4680In-book reference : Book 42, Hadith 85