"The Messenger of Allah ﷺ prohibited that a man sleep on a terrace without something to obstruct him (so that he will not roll off and fall)."
نَهَى رَسُولُ اللَّهِ ﷺ أَنْ يَنَامَ الرَّجُلُ عَلَى سَطْحٍ لَيْسَ بِمَحْجُورٍ عَلَيْهِ
"The Messenger of Allah ﷺ prohibited that a man sleep on a terrace without something to obstruct him (so that he will not roll off and fall)."
نَهَى رَسُولُ اللَّهِ ﷺ أَنْ يَنَامَ الرَّجُلُ عَلَى سَطْحٍ لَيْسَ بِمَحْجُورٍ عَلَيْهِ