Ata says that Sayyiduna Muawiyah (may Allah be pleased with him) cut the hair of the Prophet (peace and blessings be upon him) with the scissors he had with him, at that time the Prophet (peace and blessings be upon him) was in the state of Ihram (and cutting the hair is necessary to exit this state). This happened during the days of the ten (i.e., Dhul-Hijjah), but some people deny this.