2 Peter 2:16 in the King James Version
But was rebuked for his iniquity: the dumb ass speaking with man’s voice forbad the madness of the prophet.
Context
15 Forsaking the right way, they went astray, having followed the way of Balaam the son of Beor, who loved the wages of wrongdoing;
16 but he was rebuked for his own disobedience. A speechless donkey spoke with a man’s voice and stopped the madness of the prophet.
17 These are wells without water, clouds driven by a storm, for whom the blackness of darkness has been reserved forever.