From Sahih Bukhari (Hadith 6287): 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