Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
The Udhiyah (sacrificial offering) is a Confirmed Sunnah (Sunnah Mu’akkadah) for every adult Muslim of sound mind who possesses the financial means, whether they are a resident, a traveler, or a pilgrim (Haj). This is based on the statement of the Prophet ﷺ: 'When the ten days [of Dhu al-Hijjah] begin and one of you desires to offer a sacrifice, let him not touch [cut] anything of his hair or skin' [Narrated by Muslim].
The point of evidence (Wajh al-Dalalah) here is that the Prophet ﷺ linked the sacrifice to the individual's will and desire by saying, 'and one of you desires.' This indicates that it is not obligatory (Wajib); had it been mandatory, he would have simply said, 'let him not touch his hair until he sacrifices' [without making it conditional upon desire].
Furthermore, it is narrated that Abu Bakr and Umar (may Allah be pleased with them both) would sometimes refrain from offering the sacrifice out of fear that people might mistakenly view it as an obligatory duty [Narrated by al-Bayhaqi and others with a good (Hasan) chain of transmission]. And Allah the Exalted knows best.