It is reported that Imām Al-Awzāʿī – Allāh have mercy on him – said:

Learn what is not to be taken, like you learn what is to be taken.

Ibn ʿAbd Al-Barr, Jāmiʿu Bayyān Al-ʿIlm article 435.