Śrīmad-Bhāgavatam · Text 1.7.40
Who is speaking and story frame
सूत उवाच
एवं परीक्षता धर्मं पार्थ: कृष्णेन चोदित: ।
नैच्छद्धन्तुं गुरुसुतं यद्यप्यात्महनं महान् ॥ ४० ॥
sūta uvāca
evaṁ parīkṣatā dharmaṁ
pārthaḥ kṛṣṇena coditaḥ
naicchad dhantuṁ guru-sutaṁ
yadyapy ātma-hanaṁ mahān
Sūta Gosvāmī said: Although Kṛṣṇa, who was examining Arjuna in religion, encouraged Arjuna to kill the son of Droṇācārya, Arjuna, a great soul, did not like the idea of killing him, although Aśvatthāmā was a heinous murderer of Arjuna’s family members.
Read Śrīla Prabhupāda's purport on Vedabase.io