Here is the Sanskrit anuvad, Hindi anuvad, and English translation of Bhakti Yoga Chapter 12, Verse 12.17.
Sanskrit
यो न हृष्यति न द्वेष्टि न शोचति न काङ्क्षति । शुभाशुभपरित्यागी भक्तिमान्यः स मे प्रियः ॥ १२.१७ ॥
Hindi
जो न कभी हर्षित होता है, न द्वेष करता है, न शोक करता है, न कामना करता है तथा जो शुभ और अशुभ सम्पूर्ण कर्मोंका त्यागी है – वह भक्तियुक्त पुरुष मुझको प्रिय है|
English
He who neither rejoices (obtaining the desirable objects), nor hates (the undesirable objects), nor grieves (losing his beloved objects), nor desires (his beloved objects), free from the notions of good and evil, full of devotion, he is dear to Me.