The mosque was built in 1447 (as per inscription of this mosque), during the reign of Sultan Mahmud Sharqi, by Queen Bibi Rajyi, and was dedicated to Maulana Sayyid Ali Dawood Kutubbudin, a celebrated saint (Maulana) of Jaunpur. The descendants of the saint live in the Mohalla Bazaar Bhua Pandariba Jaunpur and Mohalla Namaz Gah Laldarwaza. Mohalla Namaz Gah was named by Bibi Rajye, who also built a
monastery and a
madrassa adjacent to the mosque. The college was staffed by capable
ulema and scholars and professors, and admitted students from all over the country. "Muslim Khwateen ki Taleem" Pg 36 mentions that one school for female education was founded in 845/1441 at Jaunpur by Queen Bibi Rajye. 860 Hijri tamer e qadeem and tameer e mehrab in 1409 Hijri. Lal Darwaza (Ruby Gate) Mosque owes its name to the
vermilion-painted lofty gateway of Bibi Rajye’s royal palace, that stood adjacent to it. It is situated in the extreme north west and known by names mohalla Laldarwza or Begum Ganj. The mosque has three gateways, of which the eastern one is the largest and most important gateway. == Tourist attraction ==