Shiva Purana
साधु संरक्षणीयं चेद्विनिवर्त्यमसाधु यत् ॥ निवर्तते च सामादेरंते दण्डो हि साधनम् ॥ ३० ॥
If good nature is to be preserved the evil one is to be eschewed. It is quelled by the expedients of Sāma etc. If other means fail punishment alone is the means.
english translation
sAdhu saMrakSaNIyaM cedvinivartyamasAdhu yat ॥ nivartate ca sAmAderaMte daNDo hi sAdhanam ॥ 30 ॥
hk transliteration by Sanscript