Sahih Bukhari | Volume 1 | Hadith Number 258

Narrated by 'Aisha
Whenever the Prophet took the bath of Janaba (sexual relation or wet dream) he asked for the Hilab or some other scent. He used to take it in his hand, rub it first over the right side of his head and then over the left and then rub the middle of his head with both hands.