Sayyiduna Abdullah bin Ja'far (may Allah be pleased with him) reports this saying of the Prophet (peace and blessings be upon him): "Whoever shoots arrows at us by night is not one of us. And whoever sleeps on a roof that has no raised edges, then falls and dies, his blood goes unavenged."
Al-Tabarani recorded it; its chain contains Yazid bin Iyad, who is matruk (abandoned).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الفتن - أعاذنا الله منها / 12278