The mosque of repentance is also known as (the archaeological mosque), but the people of the city of Tabuk, they call it the name of "Mosque of the Prophet" has been established since the events of the invasion of Tabuk in 9 AH, and the Holy Prophet "peace be upon him" to pray For ten nights, it was the first building of this mosque in the era of Umayyad background Omar bin Abdul Aziz, and was built using mud and palm fronds for the roofs of the mosque, and then was built and renovated the mosque in the Ottoman era in 1062 AH, corresponding to 1651 AD It was then rebuilt for the second time in the Saudi era, where it was renovated in the style of the Haram al-Sharif in 1975 1393 Hegira, and in a few lines leaders will learn a lot of valuable information about this mosque.

The mosque is considered one of the most important and famous monuments in the region of Tabuk, and has gained this great position because it reflects an important historical stage is the invasion of Tabuk and the army of hardship, which the Prophet "peace be upon him" equipped in 9 Hijri to meet with the Roman army, According to historical books, the construction of the mosque dates back to the conquest of Tabuk, when our Holy Prophet Muhammad decided to meet the Muslim army with the Roman army in nine years of immigration. The Prophet prepared the army of hardship and when the army arrived under the command of the Prophet. “To the Tabuk area at the spot where the mosque is, they stayed for twenty nights During this period, no one came from the Roman army and the Prophet took this place to receive the delegations that come to reconcile and pay tribute, and the Prophet prayed about ten nights, due to the fact that the mosque is close to Ain Jariya, which was called At this time the sugar eye, which is currently known (in Tabuk