Sahih al-Bukhari, Hadith 4182

Aisha said, "Allah's Messenger used to test all the believing women who migrated to him, with the following Verse: -- "O Prophet! When the believing Women come to you, to give the pledge of allegiance to you." (60.12) `Urwa's uncle said, "We were informed when Allah ordered His Apostle to return to the pagans what they had given to their wives who lately migrated (to Medina) and we were informed that Abu Basir..." relating the whole narration.

قَالَ ابْنُ شِهَابٍ وَأَخْبَرَنِي عُرْوَةُ بْنُ الزُّبَيْرِ، أَنَّ عَائِشَةَ ـ رضى الله عنها ـ زَوْجَ النَّبِيِّ صلى الله عليه وسلم قَالَتْ إِنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ يَمْتَحِنُ مَنْ هَاجَرَ مِنَ الْمُؤْمِنَاتِ بِهَذِهِ الآيَةِ ‏{‏يَا أَيُّهَا النَّبِيُّ إِذَا جَاءَكَ الْمُؤْمِنَاتُ‏}‏‏.‏ وَعَنْ عَمِّهِ قَالَ بَلَغَنَا حِينَ أَمَرَ اللَّهُ رَسُولَهُ صلى الله عليه وسلم أَنْ يَرُدَّ إِلَى الْمُشْرِكِينَ مَا أَنْفَقُوا عَلَى مَنْ هَاجَرَ مِنْ أَزْوَاجِهِمْ، وَبَلَغَنَا أَنَّ أَبَا بَصِيرٍ‏.‏ فَذَكَرَهُ بِطُولِهِ‏.‏

sunnah.com