Safina told that he heard the Prophet say, "The Caliphate will last thirty years, then there will be a kingdom." Then Safina was saying:
Calculate Abu Bakr's Caliphate as two years, `Umar's as ten, `Uthman's as twelve, and `Ali's as six.
Ahmad, Tirmidhi and Abu Dawud transmitted it.