Fiqh-us-Sunnah Volume 1, Purification and Prayer, Fiqh 1.051A.
This refers to the penis and the vagina. If one’s penis has entered his wife’s vagina, ghusl is obligatory even if there was no ejaculation. Says Allah, “If you are sexually impure, purify yourselves.” Commenting on the subject, ash-Shaifi says, “In the Arabic language, sexual impurity refers to any type of sexual intercourse, regardless of whether sperm was ejaculated or not. If someone says, ‘So and so is sexually impure due to so and so,’ it refers to any type of sexual intercourse between them, even if there was no ejaculation. No one disagrees that the fornication which requires the prescribed punishment is sexual intercourse, even if there is no ejaculation.”
Abu Hurairah reported that the Prophet, upon whom be peace, said, “When anyone sits between the four parts of her body and exerts himself (has intercourse), bathing becomes obligatory (for both).” (Related by Ahmad and Muslim.)
Sa’eed ibn al-Musayyab reported that Abu Musa al-Ash’ari said to ‘Aishah, “I would like to ask you something, but I am embarrassed.” She said, “Ask and don’t be shy, for I am your mother.” He asked about a man who had intercourse but did not ejaculate. She said, on the authority of the Prophet, “If the two circumcised parts encountered each other, ghusl is obligatory.” This hadith is related by Ahmad and Malik with different wordings. There is no doubt that there must be insertion; if there is only touching, ghusl is not obligatory for either. All scholars agree on this point.