"Abu Ayyub Al-Ansari, Jabir bin 'Abdullah, and Anas bin Malik told me that when this Verse: "In it (the mosque) are men who love to clean and to purify themselves. And Allah loves those who make themselves clean and pure." was revealed, the Messenger of Allah said: 'O Ansar! Allah has praised you for your cleanliness. What is the nature of your cleanliness?' They said: 'We perform ablution for prayer and we take bath to cleanse ourselves of impurity due to sexual activity, and we clean ourselves with water (after urinating). He said: 'This is what it is. So adhere to it.'" (Using translation from Ibn Mājah 355)
أَنَّ هَذِهِ الْآيَةَ لَمَّا نَزَلَتْ {فِيهِ رِجَالٌ يُحِبُّونَ أَنْ يَتَطَهَّرُوا} [التوبة 108] قَالَ رَسُولُ اللَّهِ ﷺ «يَا مَعْشَرَ الْأَنْصَارِ إِنَّ اللَّهَ قَدْ أَثْنَى عَلَيْكُمْ فِي الطُّهُورِ خَيْرًا فَمَا طُهُورُكُمْ هَذَا؟» قَالُوا نَتَوَضَّأُ لِلصَّلَاةِ وَنَغْتَسِلُ مِنَ الْجَنَابَةِ وَنَسْتَنْجِي بِالْمَاءِ قَالَ هُوَ ذَاكَ فَعَلَيْكُمْ بِهِ