Why the Quran tells these stories
Allah describes the stories of the prophets as a lesson for people of understanding. The Quran is not an invented account. It confirms the earlier revelations, explains everything in detail, and is guidance and mercy for people who believe (Quran 12:111). The stories are therefore not told for entertainment. They teach what Allah's servants are asked to believe and do, show what happens to those who accept or reject the message, and give comfort to believers who face hardship.
The Quran also says that Allah sent messengers whose stories He related to the Prophet Muhammad ﷺ, and others whose stories He did not relate (Quran 40:78; Quran 4:163-164). So the Quran does not claim to list every prophet. The Quran and the collections of Bukhari and Muslim do not state a fixed total number of prophets, and a believer simply affirms that Allah sent messengers to every community.



