When this verse ʿAnd Hajj (pilgrimage to Makkah) to the house (Kaʿbah) is a duty that mankind owes to Allah, those who can afford the expenses (for oneʿs conveyance, provision and residence)ʿ [Al-ʿImran 3:97] was revealed, they said: O Messenger of Allah ﷺ, is it every year? He remained silent. Then they said: Is it every year? He remained silent, Then they said: Is it every year? He said: ʿNo, if I said yes, it would be obligatory.ʿ Then Allah revealed the words: ʿO you who believe! Ask not about things which, if made plain to you, may cause you troubleʿ [Al-Ma’idah 5:101] up to the end of the Αyah. (Using translation from Aḥmad 905)
لَمَّا نَزَلَتْ هَذِهِ الْآيَةُ {وَلِلَّهِ عَلَى النَّاسِ حِجُّ الْبَيْتِ مَنِ اسْتَطَاعَ إِلَيْهِ سَبِيلًا} [آل عمران 97] قَالُوا يَا رَسُولَ اللَّهِ أفِي كُلِّ عَامٍ؟ فَسَكَتَ ثُمَّ قَالُوا أَفِي كُلِّ عَامِ؟ فَسَكَتَ ثُمَّ قَالُوا أَفِي كُلِّ عَامٍ؟ قَالَ لَا وَلَوْ قُلْتُ نَعَمْ لَوَجَبَتْ فَأَنْزَلَ اللَّهُ ﷻ {يَا أَيُّهَا الَّذِينَ آمَنُوا لَا تَسْأَلُوا عَنْ أَشْيَاءَ إِنْ تُبْدَ لَكُمْ تَسُؤْكُمْ} [المائدة 101]