Reference for Chullin 45:7
(בראשית ו, יב) כי השחית כל בשר את דרכו על הארץ עבודת כוכבים דכתיב
The unblemished state and the male sex are prerequisites only to sacrifices of cattle but not of birds - will likewise not be rendered unfit by reason of sexual perversion or idolatry! The verse therefore teaches us [that they are excluded].
Jastrow
Ask RabbiBookmarkShareCopy