[Machine] About the saying of Allah: "When the believing women come to you as emigrants, examine them" [Surah Al-Mumtahanah 10], Urwah wrote to him that the Messenger of Allah, ﷺ , approved of the women of Hudaybiyyah and made it a condition for them that whoever came to him without the permission of their guardian, he would send them back. So when the Muslim women migrated to the Messenger of Allah, ﷺ , Allah commanded him to examine them. If they came seeking Islam willingly, he would not send them back. Allah said: "But if you know them to be believers, then do not return them to the disbelievers" [Surah Al-Mumtahanah 10]. So the Messenger of Allah, ﷺ , detained the women and sent back the men.
عَنْ قَوْلِ اللهِ ﷻ {إِذَا جَاءَكُمُ الْمُؤْمِنَاتُ مُهَاجِرَاتٍ فَامْتَحِنُوهُنَّ} [الممتحنة 10] فَكَتَبَ إِلَيْهِ عُرْوَةُ أَنَّ رَسُولَ اللهِ ﷺ كَانَ صَالَحَ أَهْلَ الْحُدَيْبِيَةِ وَشَرَطَ لَهُمْ أَنَّهُ مَنْ أَتَاهُ بِغَيْرِ إِذْنِ وَلِيِّهِ رَدَّهُ عَلَيْهِمْ فَلَمَّا هَاجَرَ الْمُسْلِمَاتُ إِلَى رَسُولِ اللهِ ﷺ أَمَرَهُ اللهُ بِامْتِحَانِهِنَّ فَإِنْ كُنَّ جِئْنَ رَغْبَةً فِي الْإِسْلَامِ لَمْ يَرُدَّهُنَّ عَلَيْهِمْ قَالَ اللهُ ﷻ {فَإِنْ عَلِمْتُمُوهُنَّ مُؤْمِنَاتٍ فَلَا تَرْجِعُوهُنَّ إِلَى الْكُفَّارِ} [الممتحنة 10] فَحَبَسَ رَسُولُ اللهِ ﷺ النِّسَاءَ وَرَدَّ الرِّجَالَ