Book 32: What has been said about (facing) the Qiblah (Kabah at Makkah) and wherever considered that there was no need to repeat the Salat (prayer) if someone offered prayers by mistake facing a direction other than that of the Qiblah
Sahih al-Bukhari
Sahih al-Bukhari 402
Anas ibn Mālik (r.a) narrated that ʿUmar (r.a) said: ‘My view was in harmony with the will of my Lord in three things. [1] I said: “O Messenger of Allāh, if only we took the Place of Abraham (as) (Maqām Ibrāhīm) as a site of Prayer”, and then it was revealed: “Take the Place of Abraham as a place of Prayer.” (Sūrat al-Baqarah, 2:126). [2] And concerning the verse of Ḥijāb, I said: “O Messenger of Allāh, I wish you commanded your wives to observe Ḥijāb, for indeed the pious and the bad people talk to them.” So, the verse of Ḥijāb was revealed. (Sūrat al-Aḥzāb, 33:60) [3] And when the wives of the Prophet (saw) united in their jealousy over him, I said to them: “It may be that, if he divorces you, his Lord will give him instead wives better than you.” Then this verse was revealed.’ (Sūrat al-Taḥrīm, 66:6). Ḥumaid relates that he heard this from Anas (r.a).
Translation: Ahmadiyya Muslim Jamaat
Sahih al-Bukhari 403
ʿAbd Allāh ibn ʿUmar (r.a) narrated that once the people were offering the Morning Prayer in Qubāʾ when a person came to them and said: ‘Some [revelation] of the Qurʾān has been sent down tonight to the Messenger of Allāh (saw) and he has been commanded to turn towards the Kaʿbah [while offering Prayer], so turn your faces towards it.’ They were facing towards Jerusalem, and so they turned around towards the Kaʿbah.
Translation: Ahmadiyya Muslim Jamaat
Sahih al-Bukhari 404
ʿAbd Allāh (r.a) relates that the Prophet (saw) offered the Ẓuhr Prayer with five rakaʿāt. People asked: ‘Has the Prayer been increased?’ He replied: ‘And why would that be?’ They said: ‘You prayed five rakaʿāt.’ Upon hearing this, he sat down and performed two prostrations.
Translation: Ahmadiyya Muslim Jamaat