It is narrated from Sayyiduna Abu Sa'id (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) sent for a man from among his Companions. When the man came to him (peace and blessings be upon him), he went to a mashrabah (a place for drinking water) and performed ghusl there. the Messenger of Allah (peace and blessings be upon him) (seeing him) asked: "Did I make you hurry?" He said: O Messenger of Allah (peace and blessings be upon him)! I was in the act of intercourse with my wife, but I had not ejaculated. So the Messenger of Allah (peace and blessings be upon him) said: "Ghusl is not obligatory upon you."
Imam Abu Ya'la al-Mawsili (may Allah have mercy on him) also narrated it with the same wording through the chain of Zuhayr from Husayn bin Muhammad.
I say: This narration is in the Musnad of Musaddad, the two Sahihs and the Sunan of Abu Dawud without the addition of these words: "So he headed for the mashrabah and performed ghusl there"; and those imams also did not mention these words: "I was between the two legs of the woman and I had not ejaculated."