Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:1059ʿAbdullāh > Abū Bakr b. Abū Shaybah > Ibn Numayr > ʿAbd al-Malik b. Salʿ > ʿAbd Khayr > ʿAlī

I heard ‘Ali ؓ say: Allah took His Prophet in the best way any Prophet was ever taken, then Abu Bakr ؓ was appointed as his successor and he did what the Messenger of Allah ﷺ had done and followed the Sunnah of his Prophet, and ʿUmar ؓ was appointed and did likewise.  

أحمد:١٠٥٩حَدَّثَنَا عَبْدُ اللهِ حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا ابْنُ نُمَيْرٍ عَنْ عَبْدِ الْمَلِكِ بْنِ سَلْعٍ عَنْ عَبْدِ خَيْرٍ قَالَ

سَمِعْتُ عَلِيًّا يَقُولُ قَبَضَ اللهُ نَبِيَّهُ ﷺ عَلَى خَيْرِ مَا قُبِضَ عَلَيْهِ نَبِيٌّ مِنَ الأَنْبِيَاءِ عَلَيْهِمُ السَّلامُ ثُمَّ اسْتُخْلِفَ أَبُو بَكْرٍ فَعَمِلَ بِعَمَلِ رَسُولِ اللهِ ﷺ وَسُنَّةِ نَبِيِّهِ وَعُمَرُ كَذَلِكَ