Sunan Abi Dawud, Book 42, Hadith 15 (Abu Dawud 4612)

‘Amir b. sa’id on his father’s authority reported the Messenger of Allah (ﷺ) as saying:

The Muslim who offends most against the Muslims is he who enquires about something which has not been forbidden to men, and it is declared forbidden because of his enquiry.