1,467. Consecrating a Woman Using a Prohibited Item
Hilchos Ishus 5:1
If a man consecrates a woman using an object from which one is prohibited to benefit, such as milk-and-meat combinations or chometz on Passover, then marriage is not effected. This is so even if the prohibition against benefit is a rabbinic enactment, such as chometz during the sixth hour of the day on 14 Nisan.
Hilchos Ishus 5:2
Let’s say that a man acts counter to the law and sells something from which one is forbidden to benefit. He then uses the money to consecrate a woman. In such a case, marriage is effected with one exception: if he consecrates a woman using money from selling objects of idolatry. This is because money received from selling objects of idolatry is as prohibited as the objects themselves. If a man consecrates a woman using manure from cows that were dedicated to an idol, marriage is not effected because it is prohibited to benefit from anything produced by things that are dedicated to idols as per Deuteronomy 13:18, “Let none of the condemned property cling to your hand.” On the other hand, if a man consecrates a woman using manure from an ox that was condemned to be stoned, then marriage is effected. Even though it is prohibited to derive benefit from a condemned ox, this prohibition does not extend to its manure. This is because manure is considered insignificant compared to the ox itself.