Zechariah 3:1-2

1 He showed me Joshua the high priest standing before the angel of Yahweh, and Satan standing at his right hand to be his adversary.  2 Yahweh said to Satan, "Yahweh rebuke you, Satan! Yes, Yahweh who has chosen Jerusalem rebuke you! Isn't this a burning stick plucked out of the fire?"