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:19:22

So she conceived him, and she withdrew with him to a remote place.  

Thus she conceived him and then withdrew, retreated, with him to a distant place, far from her family.
القرآن:١٩:٢٢

فَحَمَلَتْهُ فَانْتَبَذَتْ بِهِ مَكَانًا قَصِيًّا  

{فحملته فانتبذت} تنحَّت {به مكانا قصيا} بعيدا من أهلها.