Muhammad bin Shu'ayb bin Shabur (may Allah have mercy on him) said: I heard al-Awza'i (may Allah have mercy on him) saying: Whoever takes up the odd opinions of the scholars has left Islam.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 20918