BUKHARI 1840:
from Man Hadhā —
ʿAbdullah bin Al-Abbas and Al-Miswar bin Makhrama differed at Al-Abwa'; Ibn ʿAbbas said that a Muhrim could wash his head; while Al-Miswar maintained that he should not do so. ʿAbdullah bin ʿAbbas sent me to Abu Aiyub Al-Ansari and I found him bathing between the two wooden posts (of the well) and was screened with a sheet of cloth. I greeted him and he asked who I was. I replied, "I am ʿAbdullah bin Hunain and I have been sent to you by Ibn ʿAbbas to ask you how Messenger of Allah ﷺ used to wash his head while in the state of lhram." Abu Aiyub Al-Ansari caught hold of the sheet of cloth and lowered it till his head appeared before me, and then told somebody to pour water on his head. He poured water on his head, and he (Abu Aiyub) rubbed his head with his hands by bringing them from back to front and from front to back and said, "I saw the Prophet ﷺ doing like this."
البخاري ١٨٤٠:
عن من هذا —
مَنْ هَذَا فَقُلْتُ أَنَا عَبْدُ اللَّهِ بْنُ حُنَيْنٍ أَرْسَلَنِي إِلَيْكَ عَبْدُ اللَّهِ بْنُ الْعَبَّاسِ أَسْأَلُكَ كَيْفَ كَانَ رَسُولُ اللَّهِ ﷺ يَغْسِلُ رَأْسَهُ وَهُوَ مُحْرِمٌ فَوَضَعَ أَبُو أَيُّوبَ يَدَهُ عَلَى الثَّوْبِ فَطَأْطَأَهُ حَتَّى بَدَا لِي رَأْسُهُ ثُمَّ قَالَ لإِنْسَانٍ يَصُبُّ عَلَيْهِ اصْبُبْ فَصَبَّ عَلَى رَأْسِهِ ثُمَّ حَرَّكَ رَأْسَهُ بِيَدَيْهِ فَأَقْبَلَ بِهِمَا وَأَدْبَرَ وَقَالَ هَكَذَا رَأَيْتُهُ ﷺ يَفْعَلُ
hadithunlocked.com