Sahih Muslim, Book 6, Hadith 172 (Muslim 1727)

'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.