Abu Hurairah reported,

The Messenger of Allah ﷺ addressed us and said, "People, Allah has made the pilgrimage obligatory upon you, so perform the pilgrimage."A man asked, "Every year, Messenger of Allah?"He remained silent until the man had repeated the question three times, then the Messenger of Allah said, "Had I said yes, it would have become obligatory, and you would not have been able to do it."Then he said, "Leave me as I leave you. Those before you were destroyed only because of their excessive questioning and their disagreements with their prophets. So when I command you to do something, do as much of it as you are able, and when I forbid you from something, abandon it."

Azami 4716

Sahih

عن أبي هريرة، قال

خطبنا رسول الله ﷺ فقال: أيها الناس قد فرض الله عليكم الحج فحجوا. فقال رجل: أكل عام يا رسول الله؟ فسكت حتى قالها ثلاثا- فقال رسول الله: لو قلت نعم لوجبت ولما استطعتم. ثم قال: ذروني ما تركتكم فإنما هلك من كان قبلكم بكثرة سؤالهم، واختلافهم على أنبيائهم، فإذا أمرتكم بشيء فأتوا منه ما استطعتم، وإذا نهيتكم عن شيء فدعوه.

الأعظمي 4716صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Hajj
Chapter
Obligation of Hajj, its virtue, and its conditions
Section
Affirmation of the obligation of Hajj, that it is once, and what is beyond that is voluntary
Numbering
Jami al-Kamil 4716 (2nd edition)
Azami 4716