Sahih al-Bukhari 7289
Sahih al-Bukhari · Book 96: Holding Fast to the Qur'an and Sunnah · Asking too many questions and troubling with what does not concern one
Narrated Sa`d bin Abi Waqqas:
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يَزِيدَ الْمُقْرِئُ ، حَدَّثَنَا سَعِيدٌ ، حَدَّثَنِي عُقَيْلٌ ، عَنِ ابْنِ شِهَابٍ ، عَنْ عَامِرِ بْنِ سَعْدِ بْنِ أَبِي وَقَّاصٍ ، عَنْ أَبِيهِ ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ " إِنَّ أَعْظَمَ الْمُسْلِمِينَ جُرْمًا مَنْ سَأَلَ عَنْ شَىْءٍ لَمْ يُحَرَّمْ، فَحُرِّمَ مِنْ أَجْلِ مَسْأَلَتِهِ " .
The Prophet (ﷺ) said, "The most sinful person among the Muslims is the one who asked about something which had not been prohibited, but was prohibited because of his asking."