Traced to Ka'b al-Ahbar (automatic guess): a report of earlier scriptures, not a hadith of the Prophet ﷺ.
لا يزال لهذه الأمة خليفة يجمعهم، وإمارة قائمة، ويعطى الرزق والجزية حتى يبعث عيسى ابن مريم عليه السلام، ثم يكون هو يجمعهم، ثم تنقطع الإمارة
This nation will still have a caliph who will gather them, and an established emirate, who will give livelihood and tribute until Jesus, the son of Mary, peace be upon him, is sent, then he will gather them, and then the emirate will cease.
الحكم بن نافعبن عمروشريح بن عبيدكعبautomatic reading, unverified