Hadithcore
Sunan an-Nasa'i, 4051
sahih· Darussalam

It was narrated that Jarir bin 'Abdullah said:

"If a slave runs away to the land of Shirk, there is no protection (or immunity) for him."

أَخْبَرَنَا أَحْمَدُ بْنُ سُلَيْمَانَ، قَالَ حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى، قَالَ أَنْبَأَنَا إِسْرَائِيلُ، عَنْ مُغِيرَةَ، عَنِ الشَّعْبِيِّ، عَنْ جَرِيرِ بْنِ عَبْدِ اللَّهِ، قَالَ إِذَا أَبَقَ الْعَبْدُ إِلَى أَرْضِ الشِّرْكِ فَلاَ ذِمَّةَ لَهُ ‏.‏

References2 variants
In-Book Reference
Book 37, Hadith 86
English Reference
Vol. 5, Book 37, Hadith 4056