Palatial mosque in Baku (Azerbaijani: Saray məscidi)– is a mosque of the 15th century, which is included in Shirvanshah's palace complex in Baku.
Plan of the mosque is rectangular. There is a small hall, small prayer room for women and serving rooms. The northern portal, rotated to a burial vault of Shirvanshahs is more solemn than the eastern one. The latter, which was coming down to underground exit, was intended for habitants of the palace.
Two tier windowed prayer room is covered with cupola with spherical sails. Mihrab is located in the southern end of the palace. Cupola area over one a tier women prayer room ceding to cupola of the hall with its dimensions and replacing its outlines. Aperture of the mosque’s portal is clearly described on severe background of prismatic volume, ended with two cupolas with slightly sharpening calottes.
Trunk of the minaret is surrounded by a inscription, a ligature of which has a date of 845 (1441/42). Details of sherefe’s stalactites are subtly modeled.