Valmiki Ramayana Ayodhya Kanda Sarga 63 Shloka 6
Original Shlokaयदाचरति कल्याणि शुभं वा यदि वाऽशुभम्। तदेव लभते भद्रे कर्ता कर्मजमात्मनः।।2.63.6।।
1 source checked for this shloka
कल्याणि O auspicious lady, भद्रे o gentle lady, कर्ता the agent of an act, शुभं वा good or, यदि वा or if, अशुभम् evil, यत् whichever, आचरति (कुरुते) performs, आत्मनः his, कर्मजम् result of action, तदेव the same only, लभते will attain.
O gentle auspicious lady a man has to reap the fruit of his action, good or evil.