The story of the place
In the area of Quba, the Prophet ﷺ prayed near the fort of Bani Unaif—“Aṭm” meaning an ancient fortress. The Banu Unaif were a clan from the tribe of Bali, allied with the Aws. The prayer took place after the Prophet ﷺ visited Talhah ibn Al-Bara’, may Allah be pleased with him, who was ill at the time. When the time for prayer arrived, the Prophet ﷺ prayed near their homes.
The people of Banu Unaif preserved the memory of that prayer, passed it down through generations, and maintained the location until they eventually built a mosque there. It became known as Masjid Bani Unaif. The mosque is located to the southwest of Quba Mosque, near Bir ‘Adhq, in a land that originally belonged to the Banu Jahjaba ibn Kilfah of the Aws tribe.
In the western part of Quba, in the Al-‘Usbah area, the Prophet ﷺ also prayed at another location which later came to be known as Masjid Al-Tawbah (The Mosque of Repentance). It was near Bir Hujaym, a well that has since disappeared over time, but the site remains documented and preserved in books of Seerah (Prophetic biography).
Visiting information
- Best time to visit: 06:00 AM - 11:00 PM
- Opening hours: 12:29–12:29
- Suggested visit length: 15
- Show on the map






