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.'" (RU)
English reference (RU): Vol. 1, Book 1, Hadith 611 (RU)
Arabic reference (RU): Book 1, Hadith 654 (RU)