Mahdī will ask him to go to the treasurer and tell him that...
Mahdī will ask him to go to the treasurer and tell him that Mahdī has ordered you to give me some goods. (The man will go to the treasurer), the treasure will say to him: take as much as you want. He will take (as much as he wishes) and will come out of the treasury. He will, at that moment, be ashamed (of his act) and (will say to himself), am I the greediest person in Muhammad’s Ummah, or he will say to himself that which is enough for others is not enough for me.
(Feeling guilty of his act) he will want to return the goods but it will not be taken back. He will be told that, once we have given something we do not take it back. So Mahdī will live for seven, eight or nine years with this justice and fairness and distribution of wealth.
Then after his (death) there will be no goodness (comfortable life) for the living to enjoy.” عن أبي هريرة رضي الله عنه، قال: ذكر رسول الله صلى الله عليه وآاله وسلم المهدي، فقال: إن قصر فسبع وإلا فثمان وإلا فتسع، وليملأن الأرض قسطا كما ملئت جورا وظلما. “Abū Hurayrah (RA) has narrated that the Messenger of Allāh*(Peace Be Upon Him and His Household)* said while mentioning Mahdī: At minimum, the duration of the caliphate of Mahdī will be seven years. It can also be eight or nine years.
He will fill the earth with justice and fairness just as it was filled with tyranny and oppression before it.” عن جابر بن عبد الله رضي الله عنهما، عن النبي صلى الله عليه وآله وسلم قال: يكون في أمتي خليفة يحثي المال حثيا لا يعده عدا. ثم قال: والذي نفسي بيده! ليعودن. “Narrated by Jābir ibn ‘Abdullāh (رضي الله عنهما) that the Messenger of Allāh*(Peace Be Upon Him and His Household)* said: There will be a caliph in my Ummah who will generously distribute wealth without keeping a record of it.
And I swear by the One who controls my life! Certainly, the dominance (of Islam) will return (that is, Islam will recapture its lost glory and retrieve its status during his reign).” عن أبي هريرة رضي الله عنه، أن رسول الله صلى الله عليه وآله وسلم قال: يكون في أمتي المهدي، إن قصر فسبع وإلا فثمان وإلا فتسع، ينعم أمتي فيه نعمة لم ينعموا مثلها، يرسل السماء عليهم مدرارا ولا تدخر الأرض شيئا من النبات، والمال كدوس، يقوم الرجل، فيقول: يا مهدي! أعطني. فيقول: خذه.
“Abū Hurayrah (RA) has related that the Messenger of Allāh*(Peace Be Upon Him and His Household)* said: there will be Mahdī in my Ummah. If (the duration of his caliphate is a) short (period) then it will be seven years, otherwise, it will be eight or nine years.