It is narrated from Sayyiduna Abdullah bin Ja'far (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Whoever shoots arrows at night is not one of us; and whoever sleeps on a roof that has no wall and (falls and) dies, his blood is forfeit (no one is liable for it)."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13814