in section two, chapter four of the afore-said book, its author narrates from abu dawoud (from his book of 'sunan'), tirmidhi (from his book of 'jama'e'), ahmad (from his book of 'musnad'), ibn-maaja (from his book of 'sunan'), baihaqi (from 'be'sath-wa-nushoor') and some others who narrate from umm-salma that the messenger of Allah (s.a.w.a.) said: at the time of a caliph's death discord will arise and a man from medina will flee towards mecca. some of the inhabitants of mecca will approach him and will send him out (while not being satisfied) and will swear allegiance to him between rukn and maqaam....
author says: the appendix of the tradition refers to Mahdi.
in chapter five of the afore-said book, the author narrates from abu abdullah na'eem-ibn-hemad (from the book 'fatan') who narrates from abdullah-ibn-masoud a lenghty tradition mentioning therein sufyani's uprising and Mahdi's emergence from medina towards mecca and his allegiance until he reaches to the point where he says: 'Mahdi will sit between rukn and maqaam and will stretch out his hand. people will give allegiance to him and Allah will reserve love for him in the people's heart.
the author of 'eqdud-durar' (in chapter seven) narrates from na'eem-ibn-hemad (from the book 'fatan') who narrates from abu huraira that people would give allegiance to Mahdi between rukn and maqaam. Mahdi will not awaken anyone who is asleep nor will he shed any blood.
author says: it refers to repose at the time of priority of allegiance and not when hazrat would wish to dominate and rectify the world.
ibn-hajar in his book 'sawa'eq' (page 98) has narrated from ibn-asaker who has narrated from ali (a.s.) the tradition about Mahdi fleeing from medina towards mecca and added: some of the inhabitants of mecca will approach Mahdi and will send him out (while not being satisfied) and will swear allegiance to him between rukn and maqaam....
the author of 'eqdud-durar' in section two and chapter four has narrated from jabir-ibn-yazid who has narrated from imam muhammad baqir about Mahdi's flight from medina to mecca and says: people will swear allegiance to him between rukn and maqaam. 'o jabir! Mahdi is from the progeny of hussein.'