Exodus 34:20 "The first-born of a donkey you shall redeem with a lamb"

The specialty of the first-born affects only one non-kosher animal - the donkey.

Since a non-kosher animal cannot be sacrificed, it must be redeemed.

Its owner is commanded to pay the priest its value or give him a lamb in exchange.