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