Translation of the verse 19 from Surah An-Naml : Number of verses 93 - - page 378 - Part 19.
So he [Sulaiman (Solomon)] smiled, amused at her speech and said: "My Lord! Inspire and bestow upon me the power and ability that I may be grateful for Your Favours which You have bestowed on me and on my parents, and that I may do righteous good deeds that will please You, and admit me by Your Mercy among Your righteous slaves."
So [Solomon] smiled, amused at her speech, and said, "My Lord, enable me to be grateful for Your favor which You have bestowed upon me and upon my parents and to do righteousness of which You approve. And admit me by Your mercy into [the ranks of] Your righteous servants."
(27:19) Hearing its words, Solomon laughed smilingly and said "O My Lord, restrain *25 me so that I may render thanks to Thee for Thy favours which Thou hast bestowed upon the and my parents, and (enable me) to do such good works as may please Thee; and admit me, by Thy mercy, among Thy righteous servants. " *26
*25) "Restrain me...thanks to Thee" means this: "O my Lord! the wonderful powers and abilities that You have given me are such that if I become even a little forgetful and heedless, I might transgress the bounds of service and be puffed up with pride and go astray. Therefore, O my Lord, restrain me so that I may remain grateful to You for all Your blessings instead of being ungrateful. "
*26) "Admit me..righteous servants" probably implies this: "I should be included among the righteous in the Hereafter and should enter Paradise along with them." For a person who dces righteous acts will automatically be righteous, but one's entry into Paradise in the Hereafter cannot come about merely on the strength of one's good works, but it will depend on Allah's mercy. According to a Hadith, the Holy Prophet once said, "Merely the deeds of any one of you will not enable him to enter Paradise." It was asked, "In your case too, O Messenger of Allah?" He replied, "Yes, I also shall not enter Paradise only on the strength of my deeds, unless Allah Almighty covers me with His mercy." This prayer of the Prophet Solomon on this occasion becomes irrelevant if an Naml is taken to mean a vibe of human beings and namlah a member of that tribe. After all, there could be nothing extraordinary in the warning given by a member of a human tribe to the people of his vibe about the approaching troops of a powerful king that it should have induced the king to make such a prayer to Allah. However, a person's having such a wonderful power of comprehension that he may hear the speech of an ant from a distance and also understand it, is certainly something extraordinary, which can involve a person in self-conceit and vanity. In such a case only the prayer of the Prophet Solomon can be relevant.