The story of the place
Dhul-Hulaifah Mosque, commonly known as Masjid Al-Shajarah (The Mosque of the Tree), is the miqat (entry station for pilgrimage) for the people of Madinah. It is from this location that the Prophet ﷺ assumed ihram for both Hajj and ‘Umrah. Whenever he intended to travel to Makkah, he would stop at this site in the valley of Wadi Al-‘Aqiq, perform ghusl (ritual bath), pray, and then enter the state of ihram once mounted on his riding animal.
It is authentically reported in Sahih Hadith that the Prophet ﷺ assumed ihram from Dhul-Hulaifah, prayed two rak‘ahs there, and rested beneath a specific tree at the site—the tree which later gave the mosque its name, and whose location is marked within the mosque today.
‘Abdullah ibn ‘Umar, may Allah be pleased with them both, was known for his deep commitment to following the Prophet ﷺ in every detail. Whenever he journeyed to Makkah, he would stop at Dhul-Hulaifah, spend the night there, and in the morning perform ghusl. Then, once mounted on his camel, he would begin his talbiyah from that very spot—just as the Prophet ﷺ had done.
The location of the tree was carefully preserved in the memory of the Companions. Eventually, a mosque was built on the exact site, and it remains the designated miqat for the people of Madinah and those who pass through it—a place for bathing, praying, and entering ihram in imitation of the beloved Prophet ﷺ .
Visiting information
- Best time to visit: 06:00 AM - 11:00 PM
- Suggested visit length: 30
- Show on the map








