Someone who spends the night on a roof without Al-Adab Al-Mufrad 1192

Arabic hadith text
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، قَالَ‏:‏ حَدَّثَنَا سَالِمُ بْنُ نُوحٍ، قَالَ‏:‏ أَخْبَرَنَا عُمَرُ، رَجُلٌ مِنْ بَنِي حَنِيفَةَ هُوَ ابْنُ جَابِرٍ، عَنْ وَعْلَةَ بْنِ عَبْدِ الرَّحْمَنِ بْنِ وَثَّابٍ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ عَلِيٍّ، عَنْ أَبِيهِ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ‏:‏ مَنْ بَاتَ عَلَى ظَهْرِ بَيْتٍ لَيْسَ عَلَيْهِ حِجَابٌ فَقَدْ بَرِئَتْ مِنْهُ الذِّمَّةُ‏.‏ قال: أبو عبد الله: في إسناده نظر.
Translation

'Ali reported that the Prophet, may Allah bless him and grant him peace, said, "If anyone spends the night on the top of his house without protection, Allah has no responsibility for (protecting) him."