‘Abbad b. Tamim quoted his paternal uncle as saying that he had seen the Messenger of Allah(ﷺ) lying on his back in the mosque according to Qa’nabi’s version) placing one foot over the other
SahihSahihSahih Bukhari (475) Sahih Muslim (2100)Book 43 · Hadith 94