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