He traced it to the Prophet ﷺ, who said, "The greatest offender among the Muslims against the Muslims is one who asks about a matter that was not forbidden, and it then becomes forbidden upon the people because of his question."
حدثنا سفيان عن الزهري
بلغ به النبي ﷺ أعظم المسلمين في المسلمين جرما من سأل عن أمر لم يحرم فحرم على الناس من أجل مسألته