Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:2341dAbū al-Rabīʿ al-ʿAtakī > Ḥammād > Thābit > Suʾil Anas b. Mālik

(They were so few) that if I so liked I could count their number in his head, and he further said: (That is) he did not dye. Abu Bakr, however, dyed them and so did 'Umar dye them with pure henna.  

مسلم:٢٣٤١dحَدَّثَنِي أَبُو الرَّبِيعِ الْعَتَكِيُّ حَدَّثَنَا حَمَّادٌ حَدَّثَنَا ثَابِتٌ قَالَ سُئِلَ أَنَسُ بْنُ مَالِكٍ

عَنْ خِضَابِ النَّبِيِّ ﷺ فَقَالَ لَوْ شِئْتُ أَنْ أَعُدَّ شَمَطَاتٍ كُنَّ فِي رَأْسِهِ فَعَلْتُ وَقَالَ لَمْ يَخْتَضِبْ وَقَدِ اخْتَضَبَ أَبُو بَكْرٍ بِالْحِنَّاءِ وَالْكَتَمِ وَاخْتَضَبَ عُمَرُ بِالْحِنَّاءِ بَحْتًا  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:14815[Chain 1] ʿAlī b. Aḥmad b. ʿAbdān > Aḥmad b. ʿUbayd > Ibn Abū Qimāsh > Sulaymān > Ḥammād b. Zayd > Thābit [Chain 2] ʿAlī b. Muḥammad al-Muqriʾ > al-Ḥasan b. Muḥammad b. Isḥāq > Yūsuf b. Yaʿqūb > Abū al-Rabīʿ > Ḥammād b. Zayd > Thābit > Suʾil Anas b. Mālik ؓ

[Machine] About the dye of the Prophet, ﷺ , he said, "If I wanted to count the number of times I dyed my head, I would do so" and he said, "He did not perform khitan and Abu Bakr performed khitan with henna and katam, and Umar performed khitan with henna alone." This is the wording of the hadith of Abu Rabi' and in the narration of Sulayman, Anas said, "If I wanted to count the number of times I dyed his beard, I would do so." And Abu Bakr performed khitan with henna and katam.  

البيهقي:١٤٨١٥وَأَخْبَرَنَا عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنا أَحْمَدُ بْنُ عُبَيْدٍ نا ابْنُ أَبِي قِمَاشٍ نا سُلَيْمَانُ عَنْ حَمَّادِ بْنِ زَيْدٍ عَنْ ثَابِتٍ ح وَأَخْبَرَنِي عَلِيُّ بْنُ مُحَمَّدٍ الْمُقْرِئُ أنا الْحَسَنُ بْنُ مُحَمَّدِ بْنِ إِسْحَاقَ نا يُوسُفُ بْنُ يَعْقُوبَ نا أَبُو الرَّبِيعِ نا حَمَّادُ بْنُ زَيْدٍ نا ثَابِتٌ قَالَ سُئِلَ أَنَسُ بْنُ مَالِكٍ ؓ

عَنْ خِضَابِ النَّبِيِّ ﷺ فَقَالَ لَوْ شِئْتَ أَنْ أَعُدَّ شَمَطَاتٍ كُنَّ فِي رَأْسِهِ فَعَلْتُ وَقَالَ لَمْ يَخْتَضِبْ وَقَدِ اخْتَضَبَ أَبُو بَكْرٍ ؓ بِالْحِنَّاءِ وَالْكَتَمِ وَاخْتَضَبَ عُمَرُ ؓ بِالْحِنَّاءِ بَحْتًا لَفْظُ حَدِيثِ أَبِي الرَّبِيعِ وَفِي رِوَايَةِ سُلَيْمَانَ قَالَ أَنَسٌ ؓ لَوْ شِئْتَ أَنْ أَعُدَّ شَمَطَاتٍ كُنَّ فِي لِحْيَتِهِ قَالَ وَخَضَبَ أَبُو بَكْرٍ ؓ بِالْحِنَّاءِ وَالْكَتَمِ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ سُلَيْمَانَ بْنِ حَرْبٍ وَرَوَاهُ مُسْلِمٌ عَنْ أَبِي الرَّبِيعِ