Both prophets (anbiya) and messengers (rusul) receive revelation from Allah. The most common scholarly explanation is that a messenger is sent with a new message or law to a people, often a people who reject it, while a prophet continues and teaches an existing law. So every messenger is a prophet, but not every prophet is a messenger.
The Quran names 25 prophets, from Adam to Muhammad ﷺ, but it also says Allah sent messengers to every nation, including many whose stories are not told. Muslims believe in all of them, named and unnamed, and only Allah knows their exact number.
The Quran calls Muhammad ﷺ Allah's Messenger and the Seal of the Prophets (Khatam an-Nabiyyin), meaning he is the last prophet; no prophet or messenger will come after him. This belief, called the finality of prophethood, is agreed upon by Muslims and is a core part of Islamic faith.
Ulul-Azm means 'those of firm resolve', a description the Quran gives to some of the greatest messengers. Most scholars identify them as five: Nuh (Noah), Ibrahim (Abraham), Musa (Moses), Isa (Jesus) and Muhammad ﷺ, who are named together in the Quran and endured exceptional trials with patience.
Ibrahim (Abraham) is one of the greatest prophets in Islam, honoured as Allah's close friend (Khalil) and a model of pure monotheism. With his son Isma'il he raised the foundations of the Ka'bah, and many rites of Hajj recall his family. Muslims mention him in every prayer when sending blessings on the Prophet Muhammad ﷺ.