Valmiki Ramayana Ayodhya Kanda Sarga 62 Shloka 14
Original Shlokaजानामि धर्मं धर्मज्ञ त्वां जाने सत्यवादिनम्। पुत्रशोकार्तया तत्तु मया किमपि भाषितम्।।2.62.14।।
1 source checked for this shloka
धर्मज्ञ O righteous one, धर्मम् righteousness, जानामि I know, त्वाम् you, सत्यवादिनम् truthful, जाने know, तु but, पुत्रशोकार्तया by one afflicted with grief over a son, मया by me, तत् that, किमपि somewhat improper, भाषितम् spoken.
O righteous one I know the path of dharma. I also know that you are a truthful. Afflicted with grief on account of my son, I spoke somewhat harshly.