When the verse "And to Allah is owed from the people the pilgrimage to the House, for whoever is able to find a way" [Aal Imran 3:97] was revealed, they asked, "Messenger of Allah, is the pilgrimage required every year?"He remained silent.Then they asked again, "Is it every year?"He replied, "No. Had I said yes, it would have become obligatory."Then the verse was revealed, "You who believe, do not ask about things which, if shown to you, would distress you" [Maidah 5:101].
حدثنا محمد بن عبد الله بن نمير وعلي بن محمد قالا حدثنا منصور بن وردان حدثنا علي بن عبد الأعلى عن أبيه عن أبي البختري
لما نزلت {ولله على الناس حج البيت من استطاع إليه سبيلا} قالوا يا رسول الله الحج في كل عام فسكت ثم قالوا أفي كل عام فقال لا ولو قلت نعم لوجبت فنزلت {يا أيها الذين آمنوا لا تسألوا عن أشياء إن تبد لكم تسؤكم}
[Hasan]. Tirmidhi narrated it in the book of Hajj, in the chapter on what has been said regarding how many times Hajj is obligatory, no. 3055, 814, from the hadith of Mansur with this wording, and he said, "hasan ghareeb."Abdul-Ala has already been mentioned, no. 1554. Abu Bakhtari Saeed bin Fayruz did not hear directly from Ali , as Bazzar and others have stated.The hadith has corroborating narrations in Muslim, no. 1337, and elsewhere, though without mention of the verses. And Allah knows best.