´It was narrated from Aishah that:` When the Messenger of Allah (ﷺ) did not pray at night because he was prevented from doing so by sleep- meaning, sleep overwhelmed him- or by pain, he would pray twelve rak'ahs during the day.
Hadith ReferenceSunan an-Nasa'i / The Book of Qiyam Al-Lail (The Night Prayer) and Voluntary Prayers During the Day / Hadith: 1790
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:صحيح مسلم