[Machine] The Messenger of Allah ﷺ used to pray twelve units of prayer when he missed the night prayer due to pain or otherwise, during the daytime.
رَسُولَ اللهِ ﷺ كَانَ إِذَا فَاتَتْهُ الصَّلَاةُ مِنَ اللَّيْلِ مِنْ وَجَعٍ أَوْ غَيْرِهِ صَلَّى مِنَ النَّهَارِ ثِنْتَيْ عَشْرَةَ رَكْعَةً