The Statement of Allah "Verily! We have seen the turning of your (Muhammad's ) face towards the heaven..." (V.2:144) Sahih al-Bukhari 4489

Arabic hadith text
حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا مُعْتَمِرٌ، عَنْ أَبِيهِ، عَنْ أَنَسٍ ـ رضى الله عنه ـ قَالَلَمْ يَبْقَ مِمَّنْ صَلَّى الْقِبْلَتَيْنِ غَيْرِي‏.‏
Translation
Narrated Anas

None remains of those who prayed facing both Qiblas (that is, Jerusalem and Mecca) except myself.