(7) باب نَهْيِ مَنْ دَخَلَ عَلَيْهِ عَشْرُ ذِي الْحِجَّةِ وَهُوَ مُرِيدُ التَّضْحِيَةِ أَنْ يَأْخُذَ مِنْ شَعْرِهِ أَوْ أَظْفَارِهِ شَيْئًا
Umm Salama reported (these words) directly from Allah's Messenger (ﷺ):
If anyone has in his possession a sacrificial animal to offer as a sacrifice (on 'Id al-Adha), he should not get his hair cut and nails trimmed after he has entered the first days of Dhu'l Hijja (RU)
Reference (RU): Sahih Muslim 1977 d (RU)
In-book reference (RU): Book 35, Hadith 55 (RU)
USC-MSA web (English) reference(deprecated numbering scheme): Book 22, Hadith 4871 (RU)