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:26:129

And take for yourselves palaces and fortresses that you might abide eternally?  

And you set up structures, for ˹extracting˺ water underground, that perhaps you might, as though you will, last forever, therein and not die.
القرآن:٢٦:١٢٩

وَتَتَّخِذُونَ مَصَانِعَ لَعَلَّكُمْ تَخْلُدُونَ  

{وتتخذون مصانع} للماء تحت الأرض {لعلكم} كأنكم {تخلدون} فيها لا تموتون.