Śrīmad-Bhāgavatam · Text 2.10.27
Who is speaking and story frame
उत्सिसृक्षोर्धातुमलं निरभिद्यत वै गुदम् ।
तत: पायुस्ततो मित्र उत्सर्ग उभयाश्रय: ॥ २७ ॥
utsisṛkṣor dhātu-malaṁ
nirabhidyata vai gudam
tataḥ pāyus tato mitra
utsarga ubhayāśrayaḥ
Thereafter, when He desired to evacuate the refuse of eatables, the evacuating hole, anus, and the sensory organ thereof developed along with the controlling deity Mitra. The sensory organ and the evacuating substance are both under the shelter of the controlling deity.
Read Śrīla Prabhupāda's purport on Vedabase.io