Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:2885Muḥammad b. ʿAbdullāh b. Numayr > Muḥammad b. Abū ʿUbaydah from his father > al-Aʿmash > Abū Sufyān > Anas b. Mālik

“They said: ‘O Messenger of Allah, is Hajj (required) every year?’ He said: ‘If I were to say yes, it would have become obligatory, and if it were to become obligatory, you would not (be able to) do it, and if you did not do it you would be punished.’”  

ابن ماجة:٢٨٨٥حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ نُمَيْرٍ حَدَّثَنَا مُحَمَّدُ بْنُ أَبِي عُبَيْدَةَ عَنْ أَبِيهِ عَنِ الأَعْمَشِ عَنْ أَبِي سُفْيَانَ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

قَالُوا يَا رَسُولَ اللَّهِ الْحَجُّ فِي كُلِّ عَامٍ قَالَ لَوْ قُلْتُ نَعَمْ لَوَجَبَتْ وَلَوْ وَجَبَتْ لَمْ تَقُومُوا بِهَا وَلَوْ لَمْ تَقُومُوا بِهَا عُذِّبْتُمْ  


See similar narrations below:

Collected by Suyūṭī
suyuti:17906a
Request/Fix translation

  

السيوطي:١٧٩٠٦a

"لَوْ قُلتُ نَعَمْ لَوجَبَتْ، وَلَوْ وَجَبَتْ لَمْ تَقُومُوا بِهَا، (وَلَوْ لَمْ تَقُومُوا بِهَا عُذِّبْتُمْ").  

[هـ] ابن ماجة عن أَنس: أنهم قالوا: يا رسول الله، آلحجُّ في كلِّ عَام؟ قال: فذكره