Jabir said: We were in the company of the Messenger of Allah ﷺ during a journey. The rain fell upon us. The Messenger of Allah ﷺ said: Anyone who wants to pray in his dwelling may pray.
Hadith Referenceسنن ابي داود / تفرح أبواب الجمعة / 1065
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:صحيح مسلم (698)
1065. Commentary: In such situations, there is a concession regarding the congregational prayer. That is, a person may perform the prayer alone, without the congregation, or even in their homes. However, there is certainly greater virtue in being present (for the congregation).
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 1065
Ibn 'Abbas reported: The Apostle (ﷺ) woke up at night; relieved himself, and then washed his face and hands and then again slept.
Shaykh Maulana Abdul Aziz Alvi
Hadith Commentary: Benefits and Issues: If a person wakes up very early at night, he may sleep again. Those scholars who have declared this to be disliked (makruh), their intent is that by sleeping again, there is a risk that he may be deprived of his nightly routines and the morning prayer (Salat al-Fajr). Therefore, he should not sleep again. However, if there is no such concern, then he may sleep.
Source: Tuhfat al-Muslim: Commentary on Sahih Muslim, Page: 698