Umm Salama reported Allah's Apostle (ﷺ) as saying:
If anyone of you intends to offer sacrifice he should not get his hair cut or nails trimmed.