Salam alaikoum ,
from sheikh ibn taymiyya (r) :
The scholars of Islam cannot be labeled as unbelievers, despite what mistakes they might fall into in their approach or point of view. To authorise ignorant people to label Muslim scholars unbelievers is one of the biggest sins.
Sunnis agree that the scholars of Islam may not be labelled kafir no matter what mistake they make. You may take what you like from what they said and you may leave what you don't like. Wahatever you neglect from their discourse and guidance cannot be the basis for labelling them as kafirs and they will not be considered sinners in Allah's sight for a mistake they did without a bad intention because Allah said: "Our Lord! Do not take us to task if we forget or make a mistake" (2:285)
And Muslim scholars agreed that no one has the right to label as kafir anyone form the scholars of Islam, even if they are in dissent concerning the infallibility of the prophets.
And if we are going to begin labeling the scholars of Islam as kafir scholars of Islam for their point of view, we are then going to declare as unbelievers many of the Shafii school, of the Maliki school, of the Hanafi school, of the Ashari school, of the people of Hadith, of the people of tafsir, and of the sufi school, all of which, by the consensus of the scholars of the Muslims, are not unbelievers!"
[Ibn Taymiyya, Majmua Fatawa Ibn Taymiyya (35:99)]