أَخْبَرَنَا جَعْفَرُ بْنُ عَوْنٍ، أَخْبَرَنَا إِسْمَاعِيل بْنُ مُسْلِمٍ، عَنْ الْحَسَنِ، عَنْ عُثْمَانَ بْنِ أَبِي الْعَاصِ، قَالَ: "وَقْتُ النُّفَسَاءِ أَرْبَعِينَ يَوْمًا، فَإِنْ طَهُرَتْ، وَإِلَّا فَلَا تُجَاوِزْهُ حَتَّى تُصَلِّيَ".
Uthman bin Abi al-As said: The period of nifas (postnatal bleeding) is forty days; if she becomes pure before that, then fine, otherwise she should pray, and she should not exceed this period.
Brief Explanation
(Commentary on Hadiths 983 to 987)
That is, after forty days she should not remain sitting (i.e., refrain from prayer), rather she should perform the prayer.
The meaning is that she is under the ruling of a mustahadah (a woman experiencing non-menstrual vaginal bleeding).
She will perform the prayer, and the husband is permitted to have intercourse with her.