Walk towards it, then turn left through an arched gate into the mosque precinct, and follow the crowds into the bustling Grand Bazaar.
You can follow the crowds from the mosque precinct to the Grand Bazaar.  