Ali bin Abu Talib reported,

When the verse was revealed, "And due to Allah from the people is a pilgrimage to the House for whoever is able to find a way to it" [Al Imran 3:97], they asked, "Messenger of Allah, is it every year?" He remained silent.They asked again, "Messenger of Allah, is it every year?"He replied, "No, and had I said yes, it would have become obligatory."So Allah revealed, "O you who have believed, do not ask about things which, if shown to you, would distress you" [Maidah 5:101].

Tirmidhi 3055

Daif

حدثنا أبو سعيد الأشج حدثنا منصور بن وردان عن علي بن عبد الأعلى عن أبيه عن أبي البختري

عن علي قال

لما نزلت {ولله على الناس حج البيت من استطاع إليه سبيلا} قالوا يا رسول الله في كل عام فسكت قالوا يا رسول الله في كل عام قال لا ولو قلت نعم لوجبت فأنزل الله {يا أيها الذين آمنوا لا تسألوا عن أشياء إن تبد لكم تسؤكم}

الترمذي 3055ضعيف
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Maidah
Numbering
Darussalam 3055
Tirmidhi 3055