The woman having bleeding after delivery (puerperal haemorrhage) would refrain (from prayer) for forty days or forty nights; and we would anoint our faces with an aromatic herb called wars to remove dark spots. (Using translation from Abū Dāʾūd 311)
كَانَتْ النُّفَسَاءُ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ تَقْعُدُ بَعْدَ نِفَاسِهَا أَرْبَعِينَ يَوْمًا أَوْ أَرْبَعِينَ لَيْلَةً قَالَتْ وَكُنَّا نَطْلِي عَلَى وُجُوهِنَا الْوَرْسَ مِنَ الْكَلَفِ