From Abi Sa’eed AlKhudri from the Messenger of Allah s.a.w he said:”From us is AlQaem and from us is AlMansoor and from us is AlSafah and from us is AlMahdi, as for AlQaem the successorship will come to him and he will not shed a drop of blood, as for AlMansoor not a banner will come in its way, as for AlSafah he will shed money and blood, as for AlMahdi he will spread it with justice like how it was spread with oppression” Kanz Al Umal-Mutaqi AlHindi v.14 p.280 h.38688-Tareekh Damashq v.32 p.302
Fitan Ibn Hamad who is Sheikh AlBukhari (1/395)hadeeth#1186 narrated from Rashdeen from Ibn Lahee’a from Abi Qabeel from Abdullah son of Umro he said:”After the Mahdi that will take the people of Yemen to their cities,it is then the Mansoor,and then after him the Mahdi that will open the city of Rome by his hand”
Fateh Al Bari Sharh Saheeh AlBukhari v.13 p.181 It was said by Abu AlHussein Bani AlMunada:”It is possible by the meaning of the hadeeth in that there will be 12 Caliphates after the Mahdi that will emerge in the end times,for I found in the book of Daniel that if the Mahdi dies,5 men will rule from the oldesgt grandson and 5 from the younger grandson and then he will give successorship to the last one for the caliphate,a man from the son of the older grandson,so then he will rule after him a son and then 12 kings will rule each one of them is an Imam Mahdi.”
14769-In Tafseer son of Abi Hatem hadeeth#137302628 v.8 Ibn Abi Hatem AlRazi Tafseer Abi Hatem from Ka’ab AlAhbar he said:(They are 12,and when they all pass away,there will be 12 similar to them replacing them,and that is a promise from Allah to this nation and he read:”Allah has promised, to those among you who believe and work righteous deeds, that He will, of a surety, grant them in the land, inheritance (of power), as He granted it to those before them”And that is the work of Bani Isra’el.)
Ka’ab AlAhbar is considered to among the reliable narrators of hadeeths according to Sunnis.
Fateh AlBari Sharh Saheeh AlBukhari for Ibn Hajar 20/266 #6682 From a long passage he said:Abu AlHussein son of AlMunadi:On the part where he collected about the Mahdi,it possible in the meaning of the hadeeth “(There will be 12 caliphates)meaning that this will happen after the Mahdi who will emerge in the end times,for I found in the book of Daniel,when the Mahdi dies,there will be 5 men ruling from the son of the oldest grandson and then 5 from the son of the younger grandson and then the last one will pass his leadership from the son of the oldest grandson and then his son will rule and 12 kings will reign,each one of them is an Imam Mahdi,Ibn AlMunadi said:”and in the narration of Abi Saleh from IbnAbbas. The Mahdi’s name is Muhammad son of Abdullah and he is a man whose beard is dyed in red,the nation will be relieved by him from all the depressions,and his justice will eliminate all the unjustice,and then after him will be 12 men.”