Sunan Ibn Majah, Book 36, Hadith 160 (In-Book) ⓘ
It was narrated from 'Ali that the Messenger of Allah said: "Mahdi is one of us, the people of the Household. Allah will rectify him in a single night."
حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو دَاوُدَ الْحَفَرِيُّ، حَدَّثَنَا يَاسِينُ، عَنْ إِبْرَاهِيمَ بْنِ مُحَمَّدِ ابْنِ الْحَنَفِيَّةِ، عَنْ أَبِيهِ، عَنْ عَلِيٍّ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " الْمَهْدِيُّ مِنَّا أَهْلَ الْبَيْتِ يُصْلِحُهُ اللَّهُ فِي لَيْلَةٍ " .
also referenced under: Hadith 4085 (Reference) & Volume 5, Book 36, Hadith 4085 (DarusSalam)