Mishkat al-Masabih 444
وَعَنْ عَلِيٍّ رَضِيَ اللَّهُ عَنْهُ: أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ تَرَكَ مَوْضِعَ شَعَرَةٍ مِنْ جَنَابَةٍ لَمْ يَغْسِلْهَا فعل بهَا كَذَا وَكَذَا من النَّار» . قَالَ عَليّ فَمن ثمَّ عاديت رَأْسِي ثَلَاثًا فَمن ثمَّ عاديت رَأْسِي ثَلَاثًا فَمِنْ ثَمَّ عَادَيْتُ رَأْسِي ثَلَاثًا. (رَوَاهُ أَبُو دَاوُدَ وَأَحْمَدُ وَالدَّارِمِيُّ إِلَّا أَنَّهُمَا لَمْ يُكَرِّرَا: فَمن ثمَّ عاديت رَأْسِي)
From ʿAli, may Allah be pleased with him, that the Messenger of Allah ﷺ said: "Whoever leaves the place of one hair [unwashed] from janabah, not washing it, such and such will be done to it from the Fire." ʿAli said: From then on I treated my head as an enemy — three times. From then on I treated my head as an enemy. From then on I treated my head as an enemy. Reported by Abu Dawud, Ahmad and ad-Darimi, except that the latter two did not repeat: "From then on I treated my head as an enemy."