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:112:2

Allah, the Eternal Refuge.  

God, the Self-Sufficient, Besought of all (Allāhu’l-samad constitute a subject and a predicate) ˹al-samad means˺ the One Who is always sought at times of need,
القرآن:١١٢:٢

اللَّهُ الصَّمَدُ  

{الله الصمد} مبتدأ وخبر أي المقصود في الحوائج على الدوام.