In the year of the conquest of Mecca the Prophet (ﷺ) entered Mecca, wearing a helmet on his head.

Sahih al-Bukhari Book 77, Hadith 26