← Sahih al-Bukhari
Sahih al-Bukhari · Hadith #6050 · Asking Permission

Narrated the uncle of `Abbas bin Tamim:

حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا سُفْيَانُ، حَدَّثَنَا الزُّهْرِيُّ، قَالَ أَخْبَرَنِي عَبَّادُ بْنُ تَمِيمٍ، عَنْ عَمِّهِ، قَالَ رَأَيْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم فِي الْمَسْجِدِ مُسْتَلْقِيًا، وَاضِعًا إِحْدَى رِجْلَيْهِ عَلَى الأُخْرَى‏.‏

I saw Allah's Messenger (ﷺ) lying on his back in the mosque and putting one of his legs over the other.