Whoever opposes the Book and the Sunnah then he’s a person of innovation, even if he has much knowledge and many books.
ومن خالف الكتاب والسنة فهو صاحب بدعة، وإن كان كثير العلم [والكتب].
al-Barbahārī, Sharḥ al-Sunnah 1/99
البربهاري، شرح السنة ١/٩٩