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

Sahih al-Bukhari Book 79 Hadith 59

Sahih al-Bukhari #6287

Asking Permission 79:59

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.

Chapter: Al-Istilqa' (lying flat)

Grade: Sahih