Who said "cease to do evil learn to do good purify the heart"? Who said this as a complete description of the Buddhist path

Cease to do evil
Learn to do good
Purify the heart

I thought it was Bodhidharma but I can't find the exact reference for the quote. Many Thanks.
It's verse 183 of the Dhammapada.