The slave-mother of Ibrahim ibn AbdurRahman ibn Awf asked Umm Salamah, the wife of the Prophet ﷺ: I am a woman having a long border of clothe and I walk in filthy place; (then what should I do?). Umm Salamah replied: The Messenger of Allah ( peace be upon him) said: What comes after it cleanses it.
أَنَّهَا سَأَلَتْ أُمَّ سَلَمَةَ زَوْجَ النَّبِيِّ ﷺ فَقَالَتْ إِنِّي امْرَأَةٌ أُطِيلُ ذَيْلِي وَأَمْشِي فِي الْمَكَانِ الْقَذِرِ فَقَالَتْ أُمُّ سَلَمَةَ قَالَ رَسُولُ اللَّهِ ﷺ يُطَهِّرُهُ مَا بَعْدَهُ