According to Muslim belief, Muhammad was praying in a cave when he had a revelation in which he was told to..

preach that there was one true god.
found the holy city of mecca.
conquer the arabian peninsula
or
build a shrine for pilgrims to visit.

According to Muslim belief, Muhammad was praying in a cave when he had a revelation in which he was told to preach that there was one true god.

are you sure

I apologize for the confusion. According to Muslim belief, Muhammad received a revelation in the cave of Hira, where the angel Gabriel appeared to him and instructed him to recite the words of Allah (God). Muhammad was tasked with delivering the message of monotheism and preaching the existence of one true God to the people of his time. This revelation marked the beginning of Muhammad's prophethood.

According to Muslim belief, while Muhammad was praying in a cave called Hira near Mecca, he had a spiritual experience known as the first revelation. During this experience, the angel Gabriel appeared to him and conveyed a divine message. Muhammad was told to preach and convey the belief in the oneness of God (monotheism) to the people, affirming that there is no deity except Allah. This revelation serves as the foundation of Islamic monotheism and is a central theme in the teachings of Islam.

To obtain this information, one can refer to the Islamic religious texts such as the Quran, which is considered the word of God in Islam. The story of Muhammad's first revelation is documented in various Islamic sources, including the biography of Muhammad called the Sirah (Seerah) and the Hadith (sayings and actions of Muhammad) collections. These texts provide detailed accounts of the life, teachings, and experiences of Muhammad, allowing individuals to understand the core beliefs and events surrounding the founding of Islam. Additionally, consulting reputable Islamic scholars or references on Islamic history can further enhance one's understanding of these beliefs.