Luke 1:10 (ESV)

10 And the whole multitude of the people were praying outside at the hour of incense.

As Zechariah is burning incense in the temple (that is, the holy place), the people are outside in the courtyard praying. They are calling on the Lord to hear and answer their prayers (see Psalm 141:2).