also in surah maidah, allah swt talks about the caliphate of abu ba ra krafter the prophet pbuh dies. "o you who believe! whoever from among you turns back from his religion (islam), allah will bring a people whom he will love and they will love him; humble towards the believers, stern towards the disbelievers, fighting in the way of allah, and never afraid of the blame of the blamers. that is the grace of allah which he bestows on whom he wills. and allah is all-sufficient for his creatures' needs, all-knower." (5:54)
Muslim