Was a prophet sent to every community, and what is the number of prophets?

The Qur’an informs us that Allah sent prophets to every community and there were several prophets between the first Prophet Adam (as) and the last Prophet Muhammad (saw). It is stated in the 10th verse of Surah al-Hijr, “Indeed, We sent messengers before you (O Prophet) among the groups of early peoples” Similarly, the 36th verse of Surah al-Nahl declares, “We surely sent a messenger to every community, saying, “Worship Allah and shun false gods.” But some of them were guided by Allah, while others were destined to stray. So travel throughout the land and see the fate of the deniers!” 

These verses indicate that Allah the Almighty ensured that no community was without a prophet throughout history. The 78th verse of Surah al-Mu’min further asserts, “We already sent messengers before you. We have told you the stories of some of them, while others We have not.” 

Furthermore, the 15th verse of Surah al-Isra clarifies, “And We would never punish a people until We have sent a messenger to warn them.” From this verse, it is evident that Allah dispatched prophets to all communities and nations. While the Qur'an mentions the names of only 25 of these prophets, it's worth noting that it's stated through hadiths that there were 124,000 prophets (Ahmad ibn Hanbal, Musnad, V, 266). This means that Allah (swt) sent prophets to every region, yet not all their names are explicitly detailed in the Holy Qur'an, the Bible, or the Torah. This is because the Holy Qur’an explicitly asserts that there were no communities or ummahs to which a prophet was not sent (Fatir, 35:24; Nahl, 16:63; Yunus, 10:47).

What does ibadah mean and how is it categorized?