Standard visit
A three-domed mosque by the Ichamati River, dated to 1501 and tied to Sultan Alauddin Husain Shah, with the grave of the Sufi Shah Rustam Baghdadi just to its north.
Visit a working three-domed mosque of the Bengal Sultanate period and the Sufi grave beside it, outside prayer times.
Machain is a quiet river village in Harirampur, and its mosque is one of the oldest working places of prayer in Manikganj. Tradition dates it to 1501, in the reign of Alauddin Husain Shah, Sultan of Bengal, and credits him with building it for a Sufi teacher who had settled on the bank of the Ichamati. Five centuries of repairs have changed the surface, but the plan of a Sultanate mosque is still easy to read.
According to the account summarized on Wikipedia from Bangla press reports, the saint Shah Rustam Baghdadi, remembered as a companion of Shah Jalal, prayed on a raised bamboo platform, a machan, over the river. The sultan saw him from a passing boat, and the village later took the name Machan, which became Machain. Treat this as local tradition; the Manikganj district portal tells a different story under another saint's name.
The building is a rectangle crowned by three domes, the central one larger than its neighbors, each ringed with carved ornament at the base. Octagonal turrets rise at the four corners of the roof. Inside, three mihrabs line the west wall. The mosque has been extended eastward over the years and was last renovated in 2019, using lime, surki and white cement, so much of what you see is recent work around an old core.
The saint's grave lies north of the mosque, among old stones that devotees treat with care. Visitors usually pause here after prayers. It is a living shrine, so speak quietly and follow the lead of the caretakers.
The mosque is in daily use and is listed by the Department of Archaeology as a preserved monument. Come between prayer times, dress modestly and remove your shoes before entering. Women should cover their hair and may be asked to view the interior from the door.
Checked against trusted sources:
Manikganj district portal, Shrine of Ghaziul Mulk Ikram Ibrahim Baghdadi ShahBanglapedia, Harirampur Upazila
A three-domed mosque by the Ichamati River, dated to 1501 and tied to Sultan Alauddin Husain Shah, with the grave of the Sufi Shah Rustam Baghdadi just to its north.
Guided tours and experiences that include Machain Shahi Mosque and Shrine. See tours
A step up to the prayer hall and village paths around it; no published accessible facilities.
Not confirmed yet. Please check with the venue before you visit.
Scarf, socks for hot floors and water
Long sleeves and long trousers or skirt; a headscarf for women
Not confirmed yet. Please check with the venue before you visit.
Not confirmed yet. Please check with the venue before you visit.
Carry a scarf and socks; floors can be hot in the dry season. Small tea stalls in Harirampur bazar are the nearest places for a break.
From the Dhaka to Aricha highway, turn south at Manikganj toward Harirampur and follow local roads to Machain; park by the village road.
Take a bus from Dhaka to Manikganj town, then a CNG auto-rickshaw to Harirampur and on to Machain village.
No special events on record for Machain Shahi Mosque and Shrine.
Late morning, after the dawn rush and before Zuhr
Any day except Friday midday
November to February
Others of this kind you opened on this device, so you can get back to them quickly.
No questions yet about Machain Shahi Mosque and Shrine. Ask the community or our travel team, and the answer will show here once it is published.
Our team answers questions here
Find your kind of trip: 34 travel themes, from Heritage, Mosque (Islam), Lakes & Haors.
Heritage
Mosque (Islam)
Lakes & Haors
Landmarks
Palaces
Museums
Hills
Forests
Waterfalls
Monument
National Parks
Beaches
Entertainment Parks
Bridges & Barrages
Islands
Wildlife (Zoo)
Forts
Kids Zone
Parks
Art Galleries
Libraries
Education
Temple
UNESCO World Heritage
Church (Christianity)
Theme Parks
Botanical Gardens
Statue
Floating Market
Mountains
Shopping Malls
Weekend Market
Caves
Theaters
More sights and places to visit in Bangladesh, nearest first.
Manikganj
Teota Zamindar Bari is the shell of a landlord family's estate on the bank of the Jamuna in Shibalaya Upazila, at the western end of Manikganj District. The Dai...
Manikganj
Nahar Garden is a privately run picnic ground in Kamta village, Dhankora Union, in the Saturia part of Manikganj. It works differently from a public park: group...
Manikganj
Baliati Zamindar Bari is the best-preserved landlord's estate within a day trip of Dhaka, and the one to choose if you only have time for a single zamindar pala...
Rajbari
Readers of Bengali literature come to Padamdi for one grave. Mir Mosharraf Hossain, the writer who gave the language Bishad Sindhu, its best-known prose retelli...
Madaripur
Half the Raja Ram Temple is underground. Centuries of silt have buried much of the ground floor, so the brick building in Khalia now looks shorter and stockier...
Gazipur
Humayun Ahmed, one of Bangladesh's best-loved novelists, built Nuhash Palli as his weekend escape and outdoor film set in Pirujali village, Gazipur. He named it...
Munshiganj
The Sonarang twin temples, called Jora Math in Bangla, are two spired brick temples standing next to each other in Sonarang village in Tongibari Upazila. Rising...
Narayanganj
Most zamindar houses around Dhaka are roofless shells. Murapara is different because people still use it every day: students walk its verandahs, since the palac...
Madaripur
Few places in Bangladesh owe their name so directly to one person. Madaripur grew around the camp of Badruddin Shah Madar, a Sufi preacher who arrived from the...
Tell us where and when you want to go, and local travel experts send you offers for your trip.
General
Yes. It has served the village continuously, so plan your visit around the five daily prayers, especially Friday midday.
Generally yes, outside prayer times and with modest dress. Ask whoever is at the door before stepping in.
The Department of Archaeology lists it as BD-C-33-57, gazetted on 13 October 2005.
We could not confirm an urs date from a reliable source; ask the caretakers locally.
Exterior photos are usually fine. Do not photograph people praying, and ask before shooting inside.
For travelers interested in early Islamic Bengal, yes. Pair it with Teota or Baliati to make the drive worthwhile.
A 14th-century Sufi saint whose shrine in Sylhet is the most visited in Bangladesh; Shah Rustam Baghdadi is remembered as one of his companions.
Shahi means royal, a reference to the sultan who is said to have paid for the building.
Yes, entry to Machain Shahi Mosque and Shrine is free.
Machain Shahi Mosque and Shrine is in Manikganj, Bangladesh. The street address and directions are under How to get there on this page.
Getting there
About 25 km, roughly an hour by CNG auto-rickshaw on rural roads.
You can reach Machain Shahi Mosque and Shrine by public transport or by car. Both routes are described under How to get there on this page.
Timing & weather
Yes, daytime visits are fine. Evenings are busy with long tarawih prayers, so avoid arriving after sunset.
Plan about 0.8 hours (45 minutes) at Machain Shahi Mosque and Shrine. Typical visit: 30 to 45 minutes.
The best months to visit Machain Shahi Mosque and Shrine are November to February. The best days and times of day are covered under When to visit on this page.
We use necessary cookies to make this site work. With your permission we would also like to remember your preferences, measure how the site is used, and show relevant ads and partner offers. You can change your mind at any time under "Cookie settings" on our Privacy policy page.