Bhagavad Gita 4.26
श्रोत्रादीनीन्द्रियाण्यन्ये संयमाग्निषु जुह्वति। शब्दादीन्विषयानन्य इन्द्रियाग्निषु जुह्वति।।4.26।।
śrotrādīnīndriyāṇyanye saṃyamāgniṣu juhvati| śabdādīnviṣayānanya indriyāgniṣu juhvati||4.26||
shrotradinindriyanyanye samyamagnishu juhvati shabdadinvishayananya indriyagnishu juhvati4.26
Meaning
Some offer the senses (such as hearing) into the fire of self-restraint; others offer the sense-objects (such as sound) into the fire of the senses. Both are valid spiritual disciplines.
अन्य (योगीजन) श्रोत्रादिक सब इन्द्रियों को संयमरूप अग्नि में हवन करते हैं, और अन्य (लोग) शब्दादिक विषयों को इन्द्रियरूप अग्नि में हवन करते हैं।
This is verse 26 of 42 in Chapter 4 (Jnana Karma Sanyasa Yoga) of the Bhagavad Gita.