Sahih Muslim Book 7, Hadith Number 2745.

Chapter : Permissibility of washing the body and head for the Muhrim.

This Hadith has been narrated on the authority of Zaid b. Aslam with the same chain of transmitters that Abu Ayyub rubbed his whole head with his hands and then moved them forward and backward. Miswar said to Ibn ‘Abbas: I would never dispute with you (in future).