It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Even if only one night remained of the world, Allah would lengthen that night until a man from my household becomes ruler whose name matches my name and whose father's name matches my father's name; he will fill the earth with equity and justice just as it will have been filled with oppression and tyranny."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10187