Narrated by Muhammad ibn Yahya, who raised it to Abu Abdullah عليه السلام, regarding someone who dyes his hair with henna and then decides to perform ablution. Imam عليه السلام said: "It is not valid until the water touches the skin of his head."
Ali Akbar al-Ghaffari
Tahdhīb al-Aḥkām fī Sharḥ al-Muqniʿah, vol. 1, p. 381