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:5860Aḥmad b. Zuhayr al-Tustarī > Muḥammad b. ʿUthmān b. Karāmah > ʿUbaydullāh b. Mūsá > ʿAbd al-Salām b. Muṣʿab > Abū Ḥāzim > Sahl b. Saʿd

[Machine] The Prophet ﷺ used to pray facing the Qibla (the Kaaba in Mecca). But when it was changed, a man went to the people of Quba and found them praying the morning prayer. He said, "Indeed, the Messenger of Allah ﷺ was commanded to pray towards the Kaaba." So their imam turned around until they faced the Qibla.  

الطبراني:٥٨٦٠حَدَّثَنَا أَحْمَدُ بْنُ زُهَيْرٍ التُّسْتَرِيُّ ثنا مُحَمَّدُ بْنُ عُثْمَانَ بْنِ كَرَامَةَ ثنا عُبَيْدُ اللهِ بْنُ مُوسَى ثنا عَبْدُ السَّلَامِ بْنُ مُصْعَبٍ عَنْ أَبِي حَازِمٍ عَنْ سَهْلِ بْنِ سَعْدٍ

أَنَّ النَّبِيَّ ﷺ كَانَ يُصَلِّي قِبَلَ بَيْتِ الْمَقْدِسِ فَلَمَّا حُوِّلَ انْطَلَقَ رَجُلٌ إِلَى أَهْلِ قُبَاءَ فَوَجَدَهُمْ يُصَلُّونَ صَلَاةَ الْغَدَاةِ فَقَالَ إِنَّ رَسُولَ اللهِ ﷺ أُمِرَ أَنْ يُصَلِّيَ إِلَى الْكَعْبَةِ فَاسْتَدَارَ إمَامُهُمْ حَتَّى اسْتَقْبَلَ بِهِمُ الْقِبْلَةَ