"The firstborn of a donkey you shall redeem with a lamb"—Exodus 34:20.
We are commanded to redeem a firstborn male donkey with a lamb—which is given to the priest. (Unless the owner wishes to give the priest the monetary value of the donkey.)
Levites are exempt from this mitzvah.