How many rak'ahs should a person pray who slept and missed (praying Qiyam Al-Lail) or was prevented from doing so by pain
باب كَمْ يُصَلِّي مَنْ نَامَ عَنْ صَلاَةٍ، أَوْ مَنَعَهُ وَجَعٌ
Sunan an-Nasa'i, Book of Qiyam Al-Lail (The Night Prayer) and Voluntary Prayers During the Day(view book)
Sunan an-Nasa'i 1789
It was narrated from Aishah that:
When the Messenger of Allah ﷺ did not pray at night because he was prevented from doing so by sleep- meaning, sleep overwhelmed him- or by pain, he would pray twelve rak'ahs during the day.
أَخْبَرَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، قَالَ حَدَّثَنَا أَبُو عَوَانَةَ، عَنْ قَتَادَةَ، عَنْ زُرَارَةَ، عَنْ سَعْدِ بْنِ هِشَامٍ، عَنْ عَائِشَةَ، أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ إِذَا لَمْ يُصَلِّ مِنَ اللَّيْلِ مَنَعَهُ مِنْ ذَلِكَ نَوْمٌ أَوْ وَجَعٌ صَلَّى مِنَ النَّهَارِ ثِنْتَىْ عَشْرَةَ رَكْعَةً .
Classification
Sahih (Authentic)