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
Hadith No. 1743
Sahih Muslim