The Quran names 25 prophets. This is the standard answer to the quiz question, although Islamic teaching holds that the total number of prophets sent by God was much larger.
The Quran states that messengers were sent to different communities, and it also says that some prophets’ stories were told while others were not. Therefore, 25 is the number traditionally identified by name in the Quran, not the total number of prophets in Islamic belief.
The named figures include Adam, Nuh (Noah), Ibrahim (Abraham), Musa (Moses), Isa (Jesus), and Muhammad, along with prophets such as Hud, Salih, Shu'ayb, Ayyub, and Yunus. Muslims also distinguish between a nabi, or prophet, and a rasul, or messenger; the categories overlap, but they are not always treated as identical. The frequently quoted figure of 124,000 refers to a traditional report about the total number of prophets, not the number named in the Quran.