Numbers 23:16
And the Lord met Balaam, and put a word in his mouth, and said, Go again unto Balak, and say thus.
Cross-reference
Numbers 23:5 is nearly identical—the same formula of God putting a word in Balaam's mouth from the first oracle.
Numbers 23:4 describes the first divine meeting with Balaam; verse 16 is the second meeting with the same pattern.
Numbers 22:35 gave earlier instruction to speak only God's word; this verse shows God fulfilling that by putting the word in his mouth.
Numbers 22:38 records Balaam's claim to speak only what God puts in his mouth—exactly what happens in this verse.
Numbers 24:1 shows Balaam no longer seeking omens—contrasting with his earlier meetings with God here.
Exodus 4:15 has God putting words in mouths (Moses/Aaron)—same phrase and concept as Balaam receiving God's word here.
Deuteronomy 23:5 summarizes God turning Balaam's curse into blessing, confirming divine control over the word given here.