A'isha reported that when the Messenger of Allah (ﷺ) missed the night prayer due to pain or any other reason, he observed twelve rak'ahs during the daytime.
Reference: Sahih Muslim 746 e In-book : Book 6, Hadith 172 USC-MSA web (English) : Book 4, Hadith 1627 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.