His conscience pricked him.

Literal

Conscience [subject-が] him [object-を] rebuked.

とがめる ('to rebuke, blame, reproach, prick (of conscience)') — a verb whose objects can be people or abstract things. 良心がとがめる ('conscience rebukes [one]') is a stock collocation for pangs of conscience.