Sunan Ibn Majah, Book 1, Hadith 309 (Ibn Majah 575)

It was narrated that Jubair bin Mut'im said:

"(The Companions) disputed in the presence of the Messenger of Allah about having a bath to cleanse oneself from sexual impurity. The Messenger of Allah said: 'As for me, I pour three handfuls of water on my head.'"