Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:38:30

And to David We gave Solomon. An excellent servant, indeed he was one repeatedly turning back ˹to Allah˺.  

And We bestowed on David, Solomon, his son — what an excellent servant!, that is, Solomon. Truly he was a penitent ˹soul˺, always returning ˹to God˺ with glorification and remembrance at all times.
القرآن:٣٨:٣٠

وَوَهَبْنَا لِدَاوُودَ سُلَيْمَانَ ۚ نِعْمَ الْعَبْدُ ۖ إِنَّهُ أَوَّابٌ  

{ووهبنا لداود سلمان} ابنه {نعم العبد} أي سليمان {إنه أوَّاب} رجّاع في التسبيح والذكر في جميع الأوقات.