It is narrated from Hazrat Aisha that the Prophet (peace be upon him) said: When the private part meets the private part, then ghusl becomes obligatory.