Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
darimi:1212ʿUbaydullāh b. Mūsá > Ibn Abū Laylá > Abū al-Zubayr > Jābir

[Machine] "We used to walk in the mosque while we were in a state of impurity, and we didn't see any harm in that."  

الدارمي:١٢١٢أَخْبَرَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى عَنِ ابْنِ أَبِي لَيْلَى عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرٍ قَالَ

«كُنَّا نَمْشِي فِي الْمَسْجِدِ وَنَحْنُ جُنُبٌ لَا نَرَى بِذَلِكَ بَأْسًا»