Making up for missed night prayers
that when the Messenger of Allah ﷺ missed the night prayer due to pain or any other reason, he observed twelve rakahs during the daytime.
أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ إِذَا فَاتَتْهُ الصَّلاَةُ مِنَ اللَّيْلِ مِنْ وَجَعٍ أَوْ غَيْرِهِ صَلَّى مِنَ النَّهَارِ ثِنْتَىْ عَشْرَةَ رَكْعَةً.