سنن نسائي Sunan an-Nasa'i كتاب الصلاة The Book of Salah
بَابُ : اسْتِبَانَةِ الْخَطَإِ بَعْدَ الاِجْتِهَادِ

Chapter: Finding Out That One Was Wrong After Doing His Utmost (To Determine The Direction)

1 hadith
Hadith 494
أَخْبَرَنَا قُتَيْبَةُ ، عَنْ مَالِكٍ ، عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ ، عَنْ ابْنِ عُمَرَ ، قال : بَيْنَمَا النَّاسُ بِقُبَاءَ فِي صَلَاةِ الصُّبْحِ ، جَاءَهُمْ آتٍ ، فَقَالَ : إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ " قَدْ أُنْزِلَ عَلَيْهِ اللَّيْلَةَ ، وَقَدْ أُمِرَ أَنْ يَسْتَقْبِلَ الْكَعْبَةَ " . فَاسْتَقْبِلُوهَا وَكَانَتْ وُجُوهُهُمْ إِلَى الشَّامِ فَاسْتَدَارُوا إِلَى الْكَعْبَةِ .
´It was narrated that Ibn 'Umar said:` "While the people were in Quba', praying the Subh prayer, someone came to them and said that revelation had come to the Messenger of Allah (ﷺ) the night before, and he has been commanded to face the Ka'bah. So they turned around, and they has been facing toward Ash-Sham, but now they turned to face toward the Ka'bah."
Hadith Reference Sunan an-Nasa'i / The Book of Salah / Hadith: 494
Hadith Grading الألبانی: صحيح  |  زبیر علی زئی: متفق عليه
Hadith Takhrij «صحیح البخاری/الصلاة 32 (403)، تفسیر البقرة 14 (4488)، 16 (4490)، 17 (4491)، 19 (4493)، 20 (4494)، خبر الآحاد 1 (7251)، صحیح مسلم/المساجد 2 (526)، موطا امام مالک/قبلة 4 (6)، (تحفة الأشراف: 7228)، مسند احمد 2/113، ویأتي عند المؤلف برقم: 746 (صحیح)»