Sahih al-Bukhari 3900
Book 63: Merits of the Helpers in Madinah (Ansaar) · Narrated by 'Ata bin Abi Rabah
Arabic
وَحَدَّثَنِي الأَوْزَاعِيُّ، عَنْ عَطَاءِ بْنِ أَبِي رَبَاحٍ، قَالَ زُرْتُ عَائِشَةَ مَعَ عُبَيْدِ بْنِ عُمَيْرٍ اللَّيْثِيِّ فَسَأَلْنَاهَا عَنِ الْهِجْرَةِ، فَقَالَتْ لاَ هِجْرَةَ الْيَوْمَ، كَانَ الْمُؤْمِنُونَ يَفِرُّ أَحَدُهُمْ بِدِينِهِ إِلَى اللَّهِ تَعَالَى وَإِلَى رَسُولِهِ صلى الله عليه وسلم مَخَافَةَ أَنْ يُفْتَنَ عَلَيْهِ، فَأَمَّا الْيَوْمَ فَقَدْ أَظْهَرَ اللَّهُ الإِسْلاَمَ، وَالْيَوْمَ يَعْبُدُ رَبَّهُ حَيْثُ شَاءَ، وَلَكِنْ جِهَادٌ وَنِيَّةٌ.
English translation
Narrated 'Ata bin Abi Rabah:`Ubaid bin `Umar Al-Laithi and I visited Aisha and asked her about the Hijra (i.e. migration), and she said, "Today there is no (Hijrah) emigration. A believer used to run away with his religion to Allah and His Apostle lest he should be put to trial because of his religion. Today Allah has made Islam triumphant, and today a believer can worship his Lord wherever he likes. But the deeds that are still rewardable (in place of emigration) are Jihad and good intentions." (See Hadith No. 42 Vol)
Reference: Sahih al-Bukhari 3900, Book of Merits of the Helpers in Madinah (Ansaar). English translation by Dr. Muhammad Muhsin Khan.