Answer:
Praise be to Allah, the Lord of the Worlds; and may His blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
Al-Bukhari and
Muslim on the authority of
Abu Hurairah (Radiya Allahu Anhu) reported that the Messenger of Allah (Sallallahu Alaihi wa Sallam) said,
"The Hour will not come until (approximately) 30 anti-Christs and liars will be raised. Each of them will claim that he is a Messenger of Allah" .
There were actually more than thirty people who had claimed to be Prophets. But the Hadith means those, whose claim would spread and who would have many followers and be a source of trial for the people. Among these are,
Musaylamah , the liar,
Sajjah ,
Tulayhah Al-Asadee - who later repented -,
Al-Mukhtaar Ath-Thaqafee and many others.
Allah knows best.