Another aspect showing the Prophet’s easy manners is mentioned in a Hadith reported by Abdullah ibn Zaid ibn Asim who says: “I saw the Prophet, peace be upon him, lying down having placed one leg over the other.” [Related by Al-Bukhari, Malik, Al-Tirmithi, Al-Nasa’ie and Abu Dawood]
This was apparently in the mosque, which makes clear that it is perfectly permissible to lie down in a mosque. Some people suggest that the Prophet, peace be upon him, warned against lying down with one leg over the other. This Hadith, which is definitely authentic, makes clear that there is nothing wrong with that. The problem arises only if it is feared that by doing so one exposes the part of his body, which should remain covered. If this is the case, then it is strongly urged that one should not do so. If, on the other hand, one is certain that there is no chance of this happening, then one may do so, since the Prophet, peace be upon him, is reported to have done it.