The caliphate of Prophecy will last thirty years; then Allah will give the Kingdom to whom he wishes; or his kingdom to whom he wishes.
Sunan Abi Dawud Book 42, Hadith 52