It is narrated from the umm walad (slave mother) of Ibrahim bin Abd al-Rahman bin Awf (may Allah be pleased with him) that she asked Sayyidah Umm Salamah (may Allah be pleased with her), the wife of the Prophet (peace and blessings be upon him): I let the hem of my garment trail long, and I pass through filthy paths? Sayyidah Umm Salamah (may Allah be pleased with her) said that the Prophet (peace and blessings be upon him) said: "The path after it purifies it."
This has also been narrated from Abu Hurayrah as marfu', and it is not strong.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4102
Hadith Gradingمحدثین:صحيح لغيره
Hadith Takhrij«صحيح لغيره۔ مؤطا امام مالك 41، احمد 6/290»
It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that we said: O Messenger of Allah! On our way to the mosque we pass through impure paths? The Prophet (peace and blessings be upon him) said: "One path purifies the filth of another path."
This chain is not strong.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4103