Hadith 8:2268
Abu Bakr narrated to us, he said: Jarir narrated to us, from Layth, from ‘Ata’, who said: When shaving becomes permissible for you, then wash your head with whatever you wish.
حدثنا أبو بكر قال حدثنا جرير عن ليث عن عطاء قال إذا حل لك الحلق فاغسل رأسك بما شئت