If you leave the Spice Bazaar by the gate at the far end of the first aisle and then turn right, you will find the Rostempaa Camii (Mosque of Rostem Paa), with its minaret soaring high above the narrow back street.
You have to stay in the spice Bazaar to find the mosque.