Hadith 22

حَدَّثَنَا أَحْمَدُ بْنُ عَبْدِ الرَّحْمَنِ بْنِ وَهْبِ بْنِ مُسْلِمٍ ، حَدَّثَنَا عَمِّي ، أَخْبَرَنِي مَخْرَمَةُ يَعْنِي ابْنَ بُكَيْرٍ ، عَنْ أَبِيهِ ، عَنْ سُلَيْمَانَ بْنِ يَسَارٍ ، عَنِ ابْنِ عَبَّاسٍ ، قَالَ : قَالَ عَلِيُّ بْنُ أَبِي طَالِبٍ : أَرْسَلْتُ الْمِقْدَادَ بْنَ الأَسْوَدِ إِلَى رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، فَسَأَلَهُ عَنِ الْمَذْيِ يَخْرُجُ مِنَ الإِنْسَانِ كَيْفَ يَفْعَلُ ؟ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " تَوَضَّأْ وَانْضَحْ فَرْجَكَ "
It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them) that he said: Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) sent Sayyiduna Miqdad bin Aswad (may Allah be pleased with him) to the Messenger of Allah (peace and blessings of Allah be upon him) (to ask about an issue). So he asked the Messenger of Allah (peace and blessings of Allah be upon him): What should a person do if madhiy (pre-seminal fluid) comes out? The Messenger of Allah (peace and blessings of Allah be upon him) said: "Perform wudu and wash your private part."
Hadith Reference صحيح ابن خزيمه / جماع أبواب الأحداث الموجبة للوضوء / 22
Hadith Takhrij «صحيح مسلم ، كتاب الحيض ، باب المذي ، رقم: 303 ، مسند أحمد: 104/1 ، ابن الجارود فى المنتقى: 5»