וַיִּקָּ֤ר יְהוָה֙ אֶל־בִּלְעָ֔ם וַיָּ֥שֶׂם דָּבָ֖ר בְּפִ֑יו וַיֹּ֛אמֶר שׁ֥וּב אֶל־בָּלָ֖ק וְכֹ֥ה תְדַבֵּֽר׃
And the LORD met Balaam, and put a word in his mouth, and said: ‘Return unto Balak, and thus shalt thou speak.’
Read halakhic rulings (Jewish law) on Numbers 23:16: and classical halakhic sources.