Nafi’ reported that Ibn Umar (may Allah be pleased with him) said: "The Udhiyah is for two days after the day of Eid al-Adha." [Narrated by Malik]
Malik said: "It reached me that Ali ibn Abi Talib (may Allah be pleased with him) said the same."
Ibn Abbas (may Allah be pleased with him) said: "The Udhiyah is for three days: the day of Eid and the two days after it." [Narrated by Al-Tahawi with a good chain]
Our Imam Abu Hanifah narrated something similar from Ibrahim.
Commentary and footnotes (2)
Note 3
(3) The statement: "For the residents of cities, etc." This indicates that the Udhiyah is obligatory for residents but not for travelers.
Note 3
(۳) قوله: على أهل الأمصار إلخ ويستفاد منه أن الأضحية واجبة على المقيم لا تجب على المسافر.