If you touch the right object, and say the word 'Oz' at the same time, the Scarecrow will be restored, and you may leave the palace.

13 seconds sound clip from the Return to Oz movie soundboard.

You can hear this line at 01:12:47.680 in the Blu-ray version of the movie.

Quote context

[...]

- You'd risk something for that, wouldn't you?

- All right, then, where's Dorothy? Where's the chicken?

- They escaped. They went that way. She went into the Nome King's mountain!

- We have to warn him about that chicken!

- Take me to the Nome King, you stupid idiots.

- You can go and inspect my ornament collection. Each of you has three chances to guess which one is the Scarecrow.

- If you touch the right object, and say the word 'Oz' at the same time, the Scarecrow will be restored, and you may leave the palace.

- Sound fair enough?

- What else can we do? He's a very powerful magician.

- We're lucky he hasn't turned us to stone.

- All right, we accept.

- Oh, good!

- Why doesn't the sofa go first?

[...]