Abu Bakr , the first successor of Muhammad , nominated Umar as his successor on his deathbed , and there was consensus in the Muslim community to his choice . Abu Bakr , the first successor of Muhammad , according to Sunni beliefs , nominated Umar as his successor on his deathbed , and there was consensus in the Muslim community to his choice .