Um 'Atiyya said that they had entwined the hair of the daughter of Allah's Messenger (ﷺ) in three braids. They first undid her hair, washed and then entwined it in three braids."
Sahih al-Bukhari Book 23, Hadith 21