ENOfficial
It was narrated that ‘Ali (رضي الله عنه) said: The Messenger of Allah (ﷺ) said: “The Mahdi is one of us’ Ahlal-Bait (the prophet’s family) and Allah will prepare him in one night”.
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا فَضْلُ بْنُ دُكَيْنٍ، حَدَّثَنَا يَاسِينُ الْعِجْلِيُّ، عَنْ إِبْرَاهِيمَ بْنِ مُحَمَّدِ ابْنِ الْحَنَفِيَّةِ، عَنْ أَبِيهِ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الْمَهْدِيُّ مِنَّا أَهْلَ الْبَيْتِ يُصْلِحُهُ اللَّهُ فِي لَيْلَةٍ.
sunnah.com