Mishkat al-Masabih
Mishkat al-Masabih 3676
Arabic hadith text
وَعَنْ أَبِي سَعِيدٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا بُويِعَ لِخَلِيفَتَيْنِ فاقتُلوا الآخِرَ منهُما» . رَوَاهُ مُسلم
Translation
Abu Sa'id reported that the Messenger of God said: When allegiance is given to two caliphs, kill the later of them. Muslim transmitted it.