Arabic hadith text
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنِ ابْنِ شِهَابٍ، أَنَّهُ قَالَ كَانَ بَيْنَ إِسْلاَمِ صَفْوَانَ وَبَيْنَ إِسْلاَمِ امْرَأَتِهِ نَحْوٌ مِنْ شَهْرٍ ‏.‏ قَالَ ابْنُ شِهَابٍ وَلَمْ يَبْلُغْنَا أَنَّ امْرَأَةً هَاجَرَتْ إِلَى اللَّهِ وَرَسُولِهِ وَزَوْجُهَا كَافِرٌ مُقِيمٌ بِدَارِ الْكُفْرِ إِلاَّ فَرَّقَتْ هِجْرَتُهَا بَيْنَهَا وَبَيْنَ زَوْجِهَا إِلاَّ أَنْ يَقْدَمَ زَوْجُهَا مُهَاجِرًا قَبْلَ أَنْ تَنْقَضِيَ عِدَّتُهَا ‏.‏
Translation

Yahya related to me from Malik that Ibn Shihab said, "Between theIslam of Safwan and the Islam of his wife there was about one month."

Ibn Shihab said, "We have not heard about any woman doinghijra for Allah and His Messenger while her husband was a kafirabiding in the land of kufr, but that her hijra separated her and herhusband unless her husband came in hijra before her period of idda hadbeen completed."