Śrīmad-Bhāgavatam · Text 1.17.6
Who is speaking and story frame
यस्त्वं कृष्णे गते दूरं सहगाण्डीवधन्वना ।
शोच्योऽस्यशोच्यान् रहसि प्रहरन् वधमर्हसि ॥ ६ ॥
yas tvaṁ kṛṣṇe gate dūraṁ
saha-gāṇḍīva-dhanvanā
śocyo ’sy aśocyān rahasi
praharan vadham arhasi
You rogue, do you dare beat an innocent cow because Lord Kṛṣṇa and Arjuna, the carrier of the Gāṇḍīva bow, are out of sight? Since you are beating the innocent in a secluded place, you are considered a culprit and therefore deserve to be killed.
Read Śrīla Prabhupāda's purport on Vedabase.io