Śrīmad-Bhāgavatam · Text 4.26.7
Who is speaking and story frame
य एवं कर्म नियतं विद्वान् कुर्वीत मानव: ।
कर्मणा तेन राजेन्द्र ज्ञानेन न स लिप्यते ॥ ७ ॥
ya evaṁ karma niyataṁ
vidvān kurvīta mānavaḥ
karmaṇā tena rājendra
jñānena na sa lipyate
Nārada Muni continued to speak to King Prācīnabarhiṣat: My dear King, any person who works according to the directions of the Vedic scriptures does not become involved in fruitive activities.
Read Śrīla Prabhupāda's purport on Vedabase.io