Numbers 22:21 – 31
New International Version (NIV)
Balaam's Donkey
21 Balaam got up in the morning, saddled his donkey and went with the Moabite officials. 22 But God was very angry when he went, and the angel of the LORD stood in the road to oppose him. Balaam was riding on his donkey, and his two servants were with him. 23 When the donkey saw the angel of the LORD standing in the road with a drawn sword in his hand, it turned off the road into a field. Balaam beat it to get it back on the road.
24 Then the angel of the LORD stood in a narrow path through the vineyards, with walls on both sides. 25 When the donkey saw the angel of the LORD, it pressed close to the wall, crushing Balaam's foot against it. So he beat the donkey again.
26 Then the angel of the LORD moved on ahead and stood in a narrow place where there was no room to turn, either to the right or to the left. 27 When the donkey saw the angel of the LORD, it lay down under Balaam, and he was angry and beat it with his staff. 28 Then the LORD opened the donkey's mouth, and it said to Balaam, “What have I done to you to make you beat me these three times?”
29 Balaam answered the donkey, “You have made a fool of me! If only I had a sword in my hand, I would kill you right now.”
30 The donkey said to Balaam, “Am I not your own donkey, which you have always ridden, to this day? Have I been in the habit of doing this to you?”
“No,” he said.
31 Then the LORD opened Balaam's eyes, and he saw the angel of the LORD standing in the road with his sword drawn. So he bowed low and fell facedown.
From BibleGateway.com: http://www.biblegateway.com/passage/?search=Numbers+22.21-31&version=NIV
NIV®