It is narrated from Hazrat Mu'adh (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: When one private part enters another private part, ghusl becomes obligatory.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 22046
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد ضعيف لإبهام الراوي عن معاذ، ولضعف أبى بكر