Moses
Deuteronomy 23:18ESV·traditional attribution

You shall not bring the fee of a prostitute or the wages of a dog into the house of the LORD your God in payment for any vow, for both of these are an abomination to the LORD your God.

John Calvin Reformed @genevareformer

18. Thou shalt not bring the hire. This command has an affinity to the foregoing, for God, rejecting whatever is acquired by illicit and filthy traffic, teaches us that the utmost chastity is to be observed in sacred things; nor does He only refuse the hire of a whore, but also the price of a dog, lest the sanctity of the altar should be polluted by any impure oblation.

Matthew Henry Presbyterian @wholebiblehenry

Orders are here given about five several things which have no relation one to another: - I. The land of Israel is here made a sanctuary, or city of refuge, for servants that were wronged and abused by their masters, and fled thither for shelter from the neighbouring countries, Deu 23:15, Deu 23:16.

Commenting on Deuteronomy 23:15-25

John Gill Reformed Baptist @doctorgill

Thou shall not bring the hire of a whore,.... Which was given to her as a reward for the use of her body: or the price of a dog; not of the firstborn of a dog, the price for the redemption of it, as some; nor for the loan of a hunting dog, or a shepherd's dog for breed, as Josephus (z) interprets this law.