Bhagavad Gītā Chapter Eighteen verse 15

śarīravāṅmanobhir yat karma prārabhate naraḥ |
nyāyyaṃ vā viparītaṃ vā pañcāite tasya hetavaḥ ||

śarīra - any solid body; bodily frame; one's bodymanas - mindkarman - act, action, performance; work, labour, activity; any religious act or rite; organ of sensepañca - five

Commentaries and Reflections

TKV Desikachar:

“God is always inside the heart.
However we are not always inside the will of God.
So actions can be right or wrong.”