Aśauca-vidhi (Rules of Impurity) within Śrāddha-kalpa — Chapter on Testing/Selecting Brahmanas and Honoring the Atithi
उभौ तौ नार्हतः श्राद्धं पुत्रिकापतिरेव च / वृथा दारांश्च यो गच्छेद्यो यजेत वृथाध्वरैः
ubhau tau nārhataḥ śrāddhaṃ putrikāpatireva ca / vṛthā dārāṃśca yo gacchedyo yajeta vṛthādhvaraiḥ
Neither of those two is fit for the śrāddha, nor is the husband of a putrikā. He who goes after women in vain, and he who performs empty sacrifices—these too are unfit.