Maliks Muwatta Book 2, Hadith Number 77.
Section : Obligation to Do Ghusl when the Two Circumcised Parts Meet.
Yahya related to me from Malik from Nafi that Abdullah ibn Umar used to say, “When the circumcised part passes the circumcised part, ghusl is obligatory.”