Question: where in the bible does it talk about the talking donkey?
Answer: After Balaam starts punishing the donkey for refusing to move, it is miraculously given the power to speak to Balaam (Numbers 22:28), and it complains about Balaam's treatment.