(34) باب مَنْ لَمْ يَرَ الْوُضُوءَ إِلاَّ مِنَ الْمَخْرَجَيْنِ، مِنَ الْقُبُلِ وَالدُّبُرِ
Narrated Zaid bin Khalid:
I asked `Uthman bin `Affan about a person who engaged in intercourse but did no discharge. `Uthman replied, "He should perform ablution like the one for an ordinary prayer but he must wash his penis." `Uthman added, "I heard it from Allah's Messenger (ﷺ)." I asked `Ali Az-Zubair, Talha and Ubai bin Ka`b about it and they, too, gave the same reply. (This order was canceled later on and taking a bath became necessary for such cases).
Reference: Sahih al-Bukhari 179
In-book reference: Book 4, Hadith 45
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 4, Hadith 179