Sahih Muslim
The Book on Government (Kitab Al-Imara)
Book Number: 020 / Hadith Number: 4568
It has been narrated on the authority of Aba Sa'id al-Khudri that the Messenger of Allah (may peace be upon him) said: When oath of allegiance has been taken for two caliphs, kill the one for whom the oath was taken later.