Sahih al-Bukhari 284
Sahih al-Bukhari · Book 5: Bathing (Ghusl) · A Junub person) can go out and walk in the market or anywhere else
Narrated Anas bin Malik:
حَدَّثَنَا عَبْدُ الأَعْلَى بْنُ حَمَّادٍ ، قَالَ حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ ، قَالَ حَدَّثَنَا سَعِيدٌ ، عَنْ قَتَادَةَ ، أَنَّ أَنَسَ بْنَ مَالِكٍ ، حَدَّثَهُمْ أَنَّ نَبِيَّ اللَّهِ صلى الله عليه وسلم كَانَ يَطُوفُ عَلَى نِسَائِهِ فِي اللَّيْلَةِ الْوَاحِدَةِ، وَلَهُ يَوْمَئِذٍ تِسْعُ نِسْوَةٍ.
The Prophet (ﷺ) used to visit all his wives in one night and he had nine wives at that time.