It was narrated from 'Amr bin Shu'aib from his father, that his grandfather said:
"The Messenger of Allah said: 'When the two circumcised parts meet, and (the tip of the penis) disappears, then bath is obligatory.'" (AR)
English reference (AR): Vol. 1, Book 1, Hadith 611 (AR)
Arabic reference (AR): Book 1, Hadith 654 (AR)