Hadith 54

Sahih Bukhari

Book 8: Prayers (Salat)

Chapter 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

بَابُ مَا جَاءَ فِي الْقِبْلَةِ، وَمَنْ لاَ يَرَى الإِعَادَةَ عَلَى مَنْ سَهَا فَصَلَّى إِلَى غَيْرِ الْقِبْلَةِ

When the Prophet ﷺ did Taslim after offering two Rak'a of Zuhr prayer he then faced the people and then completed the rest of the prayer.
وَقَدْ سَلَّمَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي رَكْعَتَيِ الظُّهْرِ، وَأَقْبَلَ عَلَى النَّاسِ بِوَجْهِهِ، ثُمَّ أَتَمَّ مَا بَقِيَ.
Sahih al-Bukhari 402b
حَدَّثَنَا ابْنُ أَبِي مَرْيَمَ، قَالَ أَخْبَرَنَا يَحْيَى بْنُ أَيُّوبَ، قَالَ حَدَّثَنِي حُمَيْدٌ، قَالَ سَمِعْتُ أَنَسًا، بِهَذَا‏.‏
Anas:

as above (395).