Sunan an Nasai
721
Sahih+2

It was narrated from 'Abbad bin Tamim, from his paternal uncle, that he saw the messenger of Allah (ﷺ) lying on his back in the Masjid, placing one leg on top of the other

SahihAbu Ghuddah
SahihAl-Albani