(37) The Book of Fighting [The Prohibition of Bloodshed]
كتاب تحريم الدم
(13) Chapter: The Differences Reported From Abu Ishaq
(13) باب الاِخْتِلاَفِ عَلَى أَبِي إِسْحَاقَ
Sunan an-Nasa'i 4052 
It was narrated that Jarir said:
"The Messenger of Allah [SAW] said: 'If a slave runs away to the land of Shirk, it becomes permissible to shed his blood.'"
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا حُمَيْدُ بْنُ عَبْدِ الرَّحْمَنِ، عَنْ أَبِيهِ، عَنْ أَبِي إِسْحَاقَ، عَنِ الشَّعْبِيِّ، عَنْ جَرِيرٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ إِذَا أَبَقَ الْعَبْدُ إِلَى أَرْضِ الشِّرْكِ فَقَدْ حَلَّ دَمُهُ ‏"‏ ‏.‏
Grade :  Sahih (Darussalam)
Reference : Sunan an-Nasa'i 4052
In-book reference : Book 37, Hadith 87
English translation : Vol. 5, Book 37, Hadith 4057