21.2 التجسس
21.2 Spying
التجسس هو البحث عن الأخبار. ويقال في اللغة: تجسّس الخبر وتجسّسه أي بحث عنه، ومنه الجاسوس. فإذا بحث الرجل عن الأخبار فقد تجسّسها وهو جاسوس، سواء بحث عن الأخبار الظاهرة أو الخفية. وليس من شرط البحث عن الأخبار أن تكون خفية أي سرّية حتى يكون تجسّسًا؛ بل التجسس هو البحث عن الخبر، سواء كان سرًّا أو علنًا، أي السرّي وغير السرّي. أما إذا رأى الأشياء على وجهها الطبيعي دون بحث، ودون أن يكون فعله بحثًا عن الأخبار، أو جمعًا للمعلومات لنشرها، أو اهتمامًا بالأخبار، فإن ذلك كله ليس تجسسًا ما دام لا يبحث عن الأخبار، والبحث عن الأخبار ليس من أفعاله. وحتى لو تابع الأخبار في هذه الأحوال فليس ذلك تجسسًا، لأن البحث عن الأخبار الذي هو التجسس إنما يكون حيث تكون المتابعة والتدقيق فيه بغرض فحصه. أما من يتابع الأخبار ليجمعها فإنه لا يدقق فيها بغرض فحصها، وإنما يجمعها لينشرها للناس. وعليه لا يقال عن من يتابع الأخبار ويجمعها، كمراسلي الصحف ووكالات الأنباء، إنهم جواسيس، إلا إذا كان عملهم التجسس واتخذوا مراسلة الصحف والوكالات أداةً لذلك. ففي هذه الحال يكون جاسوسًا، لا لكونه مراسلًا يتابع الأخبار، بل لأن عمله التجسس واتخذ المراسلة غطاءً، كما هو حال كثير من المراسلين، وخاصة المحاربين من الكفار منهم. أما ضباط الأقسام الاستخباراتية ومكتب الاستخبارات ونحوهم ممن يبحثون عن الأخبار، فهم جواسيس لأن عملهم التجسس.
Spying is investigating information. It is said in the language “spied the news and spying it (is) investigating regarding it” and from it is the spy. If the man investigates information then he has spied it and he is a spy, whether he investigates open or hidden information. It is not a condition in investigating information that it be hidden i.e. secret so that it is spying; rather spying is investigating news whether secret or open i.e. secret and non-secret. Whereas if he sees things naturally without investigation and without his action being investigation of news, or collection of information to publish it or is concerned with news, all this is not spying as long at it is not investigating news and investigating news is not part of his actions. Even if he follows news in these situations, it is not spying because investigating of information which is spying is only where following and scrutinising it is for the objective of examining it. As for the one who follows information to collect it, he does not scrutinize it for the objective of examining it but rather he collects it to publish it to the people. Accordingly it is not said about the one who follows news and collects it like the correspondents of gazettes and news agencies that they are spies, except if their work is spying and they take the correspondence of gazettes and agencies as a tool. In this situation he is a spy not because of his being a correspondent who is following the news but rather because his work is spying and he takes correspondence as a tool for cover as is the situation with many correspondents and particularly the belligerent disbelievers among them. As for the officers of investigative departments and the investigative office and their like who investigate news, they are spies because their work is spying.
هذه هي حقيقة التجسس وحقيقة الجاسوس. أما حكم التجسس فيختلف بحسب المتجسَّس عليهم. فإن كان التجسس على المسلمين أو على الذميين الذين هم رعايا كالمسلمين، فهو حرام غير جائز. وإن كان التجسس على الكفار المحاربين، سواء كانوا محاربين في الواقع أو حكماً، فهو جائز للمسلمين، وواجب على الخليفة. أما كون التجسس على المسلمين ورعايا الدولة الإسلامية حراماً، فهذا ثابت بنص القرآن الصريح. قال الله سبحانه وتعالى:
This is the reality of spying and the reality of the spy. As for the rule of spying, it differs according to those spied upon. If it is spying upon Muslims or dhimmis who are citizens like Muslims, then it is haram and not allowed. If it is spying upon belligerent disbelievers, whether they are belligerent in actual fact or by rule, this is allowed for Muslims and obligatory upon the Khalifah. As for spying upon Muslims and citizens of the Islamic State being haram, this is established by the Qur’an explicitly. Allah (swt) said:
يٰٓأَيُّهَا ٱلَّذِينَ آمَنُوا ٱجْتَنِبُوا كَثِيرًا مِّنَ ٱلظَّنِّ إِنَّ بَعْضَ ٱلظَّنِّ إِثْمٌ وَلَا تَجَسَّسُوا [TMQ 49:12]
“O you who believe avoid much suspicion (dhann) as some suspicion is sin and do not spy” [TMQ 49:12]
فَيَقُولُ اللهُ تَعَالَى: إِنَّ هٰذَا النَّهْيَ عَنِ التَّجَسُّسِ عَامٌّ، يَشْمَلُ كُلَّ تَجَسُّسٍ، سَوَاءٌ كَانَ لِلنَّفْسِ أَوْ لِغَيْرِهَا، وَسَوَاءٌ كَانَ لِلدَّوْلَةِ أَوْ لِلْأَفْرَادِ أَوِ الْجَمَاعَاتِ، وَسَوَاءٌ كَانَ الْقَائِمُ بِهِ الْحَاكِمُ أَوِ الْمَحْكُومُ. فَالْخِطَابُ عَامٌّ يَنْطَبِقُ عَلَيْهِ كُلُّ مَا يَصْدُقُ عَلَيْهِ أَنَّهُ تَجَسُّسٌ.
So Allah prohibited spying in the ayah. This prohibition is general covering all spying whether it is spying for himself or anyone, whether it is for the State or individuals or groups, and whether the one performing it i.e. the spying is the ruler or the ruled. The speech is general covering everything applying upon it that it is spying.
هنا يُطرح سؤال: هل يجوز للمسلم أن يعمل ضابطًا في إدارة التحقيق أو إدارة الاستخبارات أو غيرها من الإدارات التي يكون عملها، أو بعضه، التجسس؟ والجواب يختلف بحسب الحال. فإن كان المكتب للتجسس على المسلمين أو على الذميين الذين هم من مواطني الدولة كالمسلمين، فهو حرام بنص القرآن الصريح. ويُمنع منه الذمي كما يُمنع منه المسلم، لأن الذمي في دار الإسلام مخاطب بتطبيق الأحكام الإسلامية على نفسه فيما عدا ما يتعلق بالعقائد والعبادات، وهذا ليس منها. وإن كان المكتب للتجسس على المحاربين من الكفار الذين يدخلون بلادنا، من الذين مُنحوا الأمان أو الذين لهم عهد، فهو جائز، كما يجوز التجسس على الكفار المحاربين، سواء كانوا محاربين فعلًا أو حكمًا، وسواء كانوا في بلادهم أو في بلادنا. وعليه فإن وجود إدارات التحقيق أو الاستخبارات ونحوها ليس حرامًا، بل قد يكون واجبًا، والمحرّم فيها هو التجسس على المسلمين أو على الذميين من مواطني الدولة الإسلامية. ولا يجوز للدولة أن تتخذ إدارة تتجسس على المسلمين وسائر المواطنين، بل هذا محرّم عليها. ولا يُقال إن مصلحة الدولة تقتضي معرفة معلومات المواطنين لكشف المؤامرات والوصول إلى المجرمين، لأن الدولة تستطيع أن تعرف ذلك بطريق الشرطة والدوريات الليلية لا بطريق التجسس. ولا يكون عقل الإنسان أن يرى في الشيء مصلحة أو لا يراها سببًا للتحريم أو للتحليل، وإنما المصلحة ما رأته الشريعة مصلحة. وإذا جاء النص القرآني صريحًا في تحريم شيء فلا يبقى مجال للنقاش في أن فيه مصلحة يُعلَّل بها تحليله، إذ لا قيمة لذلك أمام النص القرآني الصريح. قال تعالى: ﴿وَلَا تَجَسَّسُوا﴾ يدلّ على تحريم التجسس، ولا سبيل إلى فهمه إلا بما تدلّ عليه الآية وبالمعنى الظاهر لألفاظها. ولم يرد دليل يخصّص عموم هذه الآية أو يستثني منها شيئًا، فيبقى على عمومه شاملًا لكل تجسس، فيكون التجسس على المواطنين كلّه حرامًا.
Here a question arises: Is it allowed for the Muslim to work as an officer in an inquiry department or an investigative department or other departments whose work, or some of it, is spying? The response depends. If it is an office to spy upon Muslims or dhimmmis who are citizens like Muslims, then it is haram by the explicit Qur’anic text. It is prevented for the dhimmi like it is prevented for the Muslim as the dhimmi in Dar al-Islam is addressed to implement the Islamic rules upon himself except what relates to creeds and worships, and this is not part of that. If the office is spying upon belligerent disbelievers who enter our lands from the ones who have been granted security or the ones under covenant, then it is allowed as it is allowed to spy upon belligerent disbelievers whether they are belligerent in practice or by the rule and whether they are in their lands or ours. Accordingly the existence of inquiry or investigative departments and their like is not haram but obligatory and what is prohibited (haram) in them is spying upon Muslims or dhimmis who are citizens of Muslims. It is not allowed for the State to have a department to spy upon Muslims and the rest of the citizens; rather this is forbidden against them. Nor is it said that the State’s interest requires knowing the citizens’ information so as to expose conspiracies and lead to criminals because the State can know this via the method of police and night patrol not via the method of spying. Just because the mind sees benefit or not in something it is not a reason for forbiddance or allowance; only what the Shar’a sees as benefit is benefit. When the Qur’anic ayat come explicitly forbidding anything there remains no place for discussion whether there is benefit in it to reason it into making it halal, as there is no value in that in front of the explicit Qur’anic text. The Qur’an says: “Do not spy” meaning prohibition of spying, and there is no way to understand other than what the ayah indicates and the clear meaning of its words. There came no evidence specifying the generality of this ayah or excluding something from it, so it remains in its generality covering all spying so all spying upon the citizens is haram.
"فَإِذَا نَظَرْتَ فِي كِتَابِي هَذَا فَامْضِ حَتَّى تَنْزِلَ نَخْلَةَ بَيْنَ مَكَّةَ وَالطَّائِفِ، فَتَرَبَّصْ بِقُرَيْشٍ وَاعْرِفْ لَنَا أَخْبَارَهُمْ."
“When you look into this book of mine, go until you descend upon Nakhlah between Makkah and Taif. Lie in wait for Quraysh and find out their news for us.”
في هذا الكتاب أمر الرسولُ ﷺ عبدَ الله بن جحش بالتجسس له على قريش وإخباره بأخبارهم. لكنه خيّر أصحابه في السفر وعدمه؛ أما هو (عبد الله) فقد وجب عليه تنفيذ المهمة. فطلب الرسول ﷺ من الجميع القيامَ بالتجسس، لكنه ألزم عبدَ الله وخيّر الباقين. وفي هذا دليل على أن الأمر بالنسبة إلى أمير الجماعة أمرٌ جازم، وبالنسبة إلى من معه من الباقين أمرٌ غير جازم. وفيه أيضاً دليل على جواز التجسس من المسلمين على العدو. والتجسس على العدو من الأمور التي لا يستغني عنها الجيش الإسلامي؛ إذ لا يمكن تحقيق إعداد الجيش للحرب دون وجود جواسيس له على العدو، فيصبح وجود التجسس في الجيش واجباً على الدولة من باب ما لا يتم الواجب إلا به.
In this book the Messenger (saw) command Abdullah bin Jahsh to spy for him upon Quraysh and to inform him of their news. However he gave a choice to his companions whether to travel or not; as for him (Abdullah), it was obliged upon him to execute the operation. So the Messenger had requested all to perform spying but obliged Abdullah and gave a choice to the rest. This is evidence that the request in relation to the leader of a group is a decisive request, and in relation to the rest together with him it is an indecisive request. It is also evidence that spying by Muslims upon the enemy is allowed. Spying upon the enemy is from the matters which the Islamic army cannot do without. It is not possible to accomplish the formation of an army for war without there being spies for it upon the enemy, so the presence of spying in the army becomes obligatory upon the State from the category (min bab) of
ما لا يتم الواجب إلا به فهو واجب.
“That without which an obligation cannot be fulfilled is obligatory.”
هذا هو حكم التجسس من حيث كونه حراماً أو مباحاً أو واجباً. أما حكم معاقبة الجاسوس الذي يتجسس لصالح الكفار المحاربين، فيختلف باختلاف جنسية الجاسوس ودينه. وأما الكافر المحارب إذا كان جاسوساً، فحكمه القتل بلا خلاف، وليس له حكم غير ذلك. ويُقتل بمجرد العلم بأنه جاسوس، أي بمجرد ثبوت كونه جاسوساً، وذلك لما رواه البخاري عن سلمة بن الأكوع، قال:
This is the rule of spying in relation to it being haram or allowed or obligatory. As for the rule on punishing the spy who spies for the belligerent disbelievers, this differs in relation to the citizenship of the spy and his deen. As for the belligerent disbeliever when he is a spy, his rule is killing as one decisive word and there is no rule for him other than that. He is killed merely upon knowing he is a spy i.e. upon mere proving that he is a spy. This is due to what Al-Bukhari narrated from Salamah bin Al-Akwa’ who said:
جاءَ إلى النبيِّ ﷺ جاسوسٌ من المشركين وهو في سفره، فجلسَ يتحدثُ مع أصحابِ النبيِّ ﷺ، ثم انصرفَ مسرعًا. فقالَ النبيُّ ﷺ: «اطلبوه واقتلوه». فسبقتُهم إليه فقتلتُه، فنفَّلَني سلبَه.
“There came to the Prophet (saw) a spy of the polytheists while he was travelling. He sat with his (saw) Sahabah discussing then he hastened. The Prophet (saw) said: Seek him and kill him. I preceded them to him and killed him, so he gifted me his booty.”
وَفِي مُسْلِمٍ رُوِيَ عَنْ عِكْرِمَةَ بِلَفْظِ:
And in Muslim it has been narrated from Ikrimah with the words:
فَأَخَذَ قِطْعَةَ جِلْدٍ مِنْ حِزَامِهِ فَرَبَطَ بِهَا الْجَمَلَ، ثُمَّ أَخَذَ يَأْكُلُ مَعَ النَّاسِ وَيَنْظُرُ (يَتَلَفَّتُ). وَكُنَّا فِي حَالٍ سَيِّئَةٍ، إِذْ كَانَ بَعْضُنَا مُشَاةً (لَيْسَ مَعَهُمْ دَوَابُّ يَرْكَبُونَهَا). فَجْأَةً انْصَرَفَ عَنَّا مُسْرِعًا.
“He took a strip of leather from its girth and tethered the camel with it and then he began to take food with the people and look (curiously around). We were in a poor condition as some of us were on foot (being without any riding animals). All of a sudden, he left us hurriedy”
وفي رواية أبي نُعيم في المستخرَج من طريق يحيى بن الحَمَّاني عن أبي العُمَيس
And in the narration of Abu Nu’aym in Al-Mustakhraj via the way of Yahya bin Al-Hamani from Abu Al-‘Umays
"لحقوه فإنه جاسوس."
“Overtake him for he is a spy.”
فَإِنَّ الحُجَّةَ قَدْ قَامَتْ عَلَيْهِ بِمُجَرَّدِ ذَلِكَ، وَقَدْ صَرَّحَ الرَّسُولُ ﷺ بِأَنَّهُ جَاسُوسٌ.
The is explicit in that the Messenger (saw) on the basis of merely being established before him that he is a spy said
اقتلوه وابحثوا عنه
“Find him and kill him”
هذا المعنى يقتضي أن الطلب طلبٌ جازم، فيصير حكمه القتل بلفظٍ واحد جازم، وهو عامٌّ لجميع الكفار المحاربين، سواءٌ كان في عهدٍ أو بأمانٍ أو غيرِ معاهدٍ ولا مستأمَن. فهم جميعاً كفارٌ محاربون، وحكمهم القتل إذا كانوا جواسيس.
This is a connotation that the request is a decisive request. So its rule becomes killing as one decisive word and it is general for all belligerent disbelievers whether he is under a covenant or with a pledge of security or other than a mu’ahid or musta’man. All are belligerent disbelievers whose rule is to be killed if they are spies.
أما الذميّ الكافر إذا تجسّس، فإنه يُنظر في أمره؛ فإن كان قد اشترط عليه عند دخوله في الذمة ألا يتجسّس، وأنه إن تجسّس فإنه يُقتل، فإن الشرط يُعمل به، فيُقتل إذا تجسّس وفقاً للشرط. أما إن لم يُشترط ذلك عليه، فإنه يجوز للخليفة أن يجعل القتل عقوبةً له، فيُقتل إذا تجسّس؛ لما رواه أحمد عن فُرات بن حيّان.
As for the dhimmi disbelievers when he is a spy, then it is looked into. If it was made a condition when he entered into the dhimma that he should not spy and if he spied he will be killed, then the condition is acted upon. So if he became a spy, he is killed according to the condition. However, if that is not made a condition upon him then it is allowed for the Khalifah to make killing as his punishment so he is killed if he becomes a spy due to what Ahmad narrated from Furrat bin Hayyan

أنَّ النبيَّ ﷺ أمرَ بقتلِه، وكان ذمِّيًّا، وكان جاسوسًا لأبي سفيانَ وحليفًا له. فمرَّ بحلقةٍ من الأنصارِ فقال: «أنا مسلمٌ». فقالوا: «إنه يزعمُ أنه مسلمٌ». فقال رسولُ اللهِ ﷺ: «إنَّ فيكم رجالًا نَكِلُهم إلى إيمانِهم، منهم فُرَاتُ بنُ حيّانَ».
“That the Prophet (saw) commanded his killing and he was a dhimmi. He was a spy for Abu Sufyan and an ally. So he passed by a circle of the Ansar and said: ‘I am a Muslim.’ They said: ‘He claims he is a Muslim’ so the Messenger of Allah (saw) said: ‘There are men among you whom we trust to their belief. Among them is Furrat bin Hayyan.”
هذا صريح في أن الرسول أمر بقتل جاسوس ذمي، إلا أن ذلك جائز للإمام وليس واجبًا عليه كما هو الحال إذا كان الجاسوس كافرًا حربيًا. والدليل على أن قتل الجاسوس الذمي من قبل الدولة جائز وليس واجبًا أن الحديث لم يقترن به ما يدل على الحتم، فهو طلب غير جازم. وهناك قرينة تدل على عدم جزم الطلب، وهي أن نص الحديث يدل على أن رسول الله ﷺ لم يبادر إلى قتل فرات بمجرد العلم بأنه جاسوس، بينما الكافر الحربي المذكور في حديث سلمة بن الأكوع، أمر النبي ﷺ بقتله بمجرد ثبوت كونه جاسوسًا عنده، فقال للمسلمين: "اطلبوه فاقتلوه". والدليل على أنه لم يبادر إلى قتله أن رسول الله ﷺ كان يعرفه، ويظهر ذلك في قول الحديث "كان ذميًا وكان عينًا"، أي كان معروفًا، وكذلك قول الرسول ﷺ "منهم فرات بن حيان". يضاف إلى ذلك أن الرسول ﷺ قال في شأن الكافر الحربي: "اطلبوه فاقتلوه"، أما في شأن فرات بن حيان فقد أمر بقتله لكنه لم يطلب من المسلمين أن يبحثوا عنه. فيتبين بذلك الفرق بينهما، إذ إن طلب قتل الحربي طلب جازم، وطلب قتل الذمي طلب غير جازم، وهو ما يدل على جواز قتل الجاسوس الذمي وجواز عدم قتله.
This is explicit that the Messenger commanded the killing of a dhimmi spy. However this is allowed for the Imam and not obligatory upon him as is the case when the spy if he is a belligerent disbeliever. The evidence that the killing of a dhimmi spy by the State is allowed and not obligatory is that the hadith is not associated with a connotation indicating decisiveness so it is an indecisive request. There is a connotation which indicates the non-decisiveness in the request which is that the text of the hadith indicates that the Messenger (saw) did not hasten to kill Furrat after the mere knowledge that he is a spy whereas the belligerent disbeliever mentioned in the hadith of Salama bin Al-Akwa’, the Prophet had commanded his killing upon it being merely established before him that he is a spy and he said to the Muslims: “Seek him and kill him.” The evidence that he did not hasten to kill him is that the Messenger (saw) used to know him, which appears in the saying of the hadith “he was a dhimmi and he was a spy” i.e. he was known, and (also) the saying of the Messenger “of them is Furrat bin Hayyan.” In addition to that, the Messenger said in the matter of the belligerent disbeliever: “Seek him and kill him” whereas in the matter of Furrat bin Hayyan he commanded his killing but did not request the Muslims to seek him. It is clear therein the distinction between both of them in that the request to kill the belligerent is a decisive request and the request to kill the dhimmi is an indecisive request which indicates the permissibility of killing the dhimmi spy and the permissibility of not killing him.
أما المسلم الذي يتجسس لصالح العدو على المسلمين وأهل الذمة، فلا يُقتل لأن الرسول ﷺ أمر بقتل الذمي، بل لأنه لما ثبت عنده أنه قد دخل في الإسلام وصار مسلماً كفّ عنه. فقد أمر بقتل فُرات بن حيّان وكان ذمياً وجاسوساً، فلما قالوا: يا رسول الله، إنه يزعم أنه مسلم، قال:
As for the Muslim spy who spies for the enemy upon Muslims and dhimmis, he is not killed because the Messenger (saw) commanded the killing of the dhimmi but when it was established before him that he had embraced Islam and became a Muslim he abstained from him. Since he had commanded the killing of Furrat bin Hayyan who was a dhimmi and a spy but when they said: O Messenger of Allah, he claims he is a Muslim, he said:
من بينكم رجال نأمنهم على عقيدتهم، وفرات بن حيان منهم
“Among you are men whom we trust them to their belief, and Furrat bin Hayyan is among them”
فَالعِلَّةُ فِي الامتناعِ عن قَتْلِه هي إسلامُه. رَوَى البُخاريُّ عن عليِّ بنِ أبي طالبٍ رضيَ اللهُ عنه أنَّه قال:
So the reason (‘illah) abstaining from killing him is his becoming a Muslim. Al-Bukhari narrated from Ali bin Abu Talib (ra) said:

قال رسول الله ﷺ: «أرسلني أنا والزبير بن العوام والمقداد بن الأسود، وقال: "انطلقوا حتى تأتوا روضة خاخ، فإن بها ظعينة معها كتاب، فخذوه منها". فانطلقنا تعادى بنا خيلنا، فإذا نحن بالظعينة، فقلنا: "أخرجي الكتاب". فقالت: "ما معي من كتاب". فقلنا: "لتخرجن الكتاب أو لنلقين الثياب". فأخرجته من عقاصها، فأتينا به رسول الله ﷺ، فإذا فيه: "من حاطب بن أبي بلتعة إلى ناس من المشركين من أهل مكة، يخبرهم ببعض أمر رسول الله ﷺ". فقال رسول الله ﷺ: "ما هذا يا حاطب؟" قال: "يا رسول الله، لا تعجل عليّ، إني كنت امرأً ملصقاً في قريش، ولم أكن من أنفسها، وكان من معك من المهاجرين لهم قرابات يحمون بها أهليهم وأموالهم بمكة، فأحببت إذ فاتني ذلك من النسب فيهم أن أتخذ عندهم يداً يحمون بها قرابتي، وما فعلت ذلك كفراً ولا ارتداداً، ولا رضاً بالكفر بعد الإسلام". فقال رسول الله ﷺ: "صدقكم". فقال عمر: "يا رسول الله، دعني أضرب عنق هذا المنافق". فقال: "إنه قد شهد بدراً، وما يدريك لعل الله اطلع على أهل بدر فقال: اعملوا ما شئتم فقد غفرت لكم»».
“The Messenger of Allah (saw) sent me, Az-Zubayr bin Al-‘Awwam and Al-Miqdad bin Al-Aswad and said: ‘Go forth until you reach the garden of Khakh. There will be a woman’s litter and with her is a book, so take it from her.’ So we went with our horses in a rapid gait until we ended in the garden where there was a woman’s litter. We said: ‘Remove the book’ and she said: ‘There is no book with me.’ So we said: ‘You will remove the book or we will remove the clothes’ so she removed it from her plaits. We brought it to the Messenger of Allah (saw) and therein was: ‘From Hatib bin Abu Balta’ah to some people of the people of Makkah informing them with some of the matter of the Messenger of Allah (saw). So the Messenger of Allah (saw) said: ‘What is this, O Hatib?’ He said: ‘O Messenger of Allah, do not be hasty with me. I was a man allied to Quraysh, and I was not from her body (i.e. tribe). Those with you from the Muhajirin have relatives in Makkah who protect their families and property. So I wished if the relation with them escaped me that I take a hand with which to protect my relatives. Nor did I commit disbelief or apostasy nor was I pleased with disbelief after Islam. So the Messenger of Allah (saw) said: ‘He has spoken the truth to you.’Umar said: ‘O Messenger of Allah, leave me to strike the neck of this hypocrite.’ He said: “He witnessed Badr, and you do not know but that Allah may have overlooked the people of Badr and said: ‘Do whatever you wish for I have forgiven you.’”
ثبت في هذا الحديث في شأن حاطب أنه كان جاسوسًا على المسلمين، ولم يقتله الرسول ﷺ، مما يدل على أن الجاسوس المسلم لا يُقتل. ولا ينبغي أن يُقال إن الحكم خاصٌّ بأهل بدر، لأن الحديث معلَّل بكونه من أهل بدر. ولا ينبغي أن يُقال هذا، لأنه وإن جاء النص بما يحتاج إلى تعليل، وكان سياقه على وجه يُفهم منه التعليل، فإن حديث أحمد في فرات بن حيان قد رُفع عنه القتل لأنه أسلم بعد أن كان ذمّيًا، وهذا يُبطل التعليل المذكور في ذلك الحديث ويجعله وصفًا لواقعة معينة، إذ لم يكن فرات بن حيان من أهل بدر. ولا ينبغي أن يُقال إن حديث فرات بن حيان عند أبي داود في إسناده أبو همام الدلّال محمد بن محبّب، وأحاديثه لا تُعدّ حججًا، وهو يروي عن سفيان الثوري. ولا ينبغي أن يُقال هذا، لأن أحمد قد رواه عن سفيان بن بشر بن السري البصري، وهو ممن اتفق البخاري ومسلم على الاحتجاج بحديثه. فالحديث ثابت ويُقاس عليه، وهو دليل على أن الجاسوس المسلم لا يُقتل، وإنما يُعاقَب بالحبس أو بغيره بحسب رأي القاضي أو الخليفة.
It was established in this hadith about Hatib that he was a spy against the Muslims and the Messenger did not kill him, which indicates that the Muslim spy is not killed. One should not say that the rule is specific to the people of Badr because the hadith is reasoned (mu’allil) on his being of the people of Badr. This should not be said became even if the text came with what requires reasoning and its context was in a way that reasoning is understood from it; nevertheless (in) the hadith of Ahmad about Furrat bin Hayyan, killing was lifted from him because he became a Muslim after he was a dhimmi which invalidates the reasoning of this hadith and makes it a description of a reality because Furrat bin Hayyan was not from the people of Badr. Nor should one say that the hadith of Furrat bin Hayyan in Abu Dawud has Abu Hammam Ad-Dalal Muhammad bin Muhabbib in its chain and his hadith are not considered as proofs, and he is narrating from Sufyan Ath-Thawri. One should not say this because Ahmad has narrated this hadith from Sufyan bin Bushr bin As-Sirri Al-Basri, and he is from those whom Al-Bukhari and Muslim agreed to consider as proof with his hadith. So the hadith is established and is extrapolated upon, and it is an evidence that the Muslim spy is not killed but is punished with imprisonment or something else according to the view of the judge or Khalifah.
كل هذا يتعلق بالتجسس على المسلمين وأهل الذمة لصالح الكافر المحارب العدو. أما التجسس على المسلمين لا لصالح العدو، أي ليس لصالح الكافر المحارب، بل لأجل التجسس نفسه، أو للمسلمين، أو للدولة، فمع أنه حرام، لم يحدد الشرع عقوبة معينة لهذه المعصية، فتصبح عقوبتها تعزيرية تقديرية.
All this is about the spying upon Muslims and dhimmis for the belligerent disbeliever enemy. As for spying upon Muslims (but) not for the enemy i.e. not for the belligerent disbeliever, rather for the sake of spying or for Muslims or the State; although it is haram the Shar’a has not specified a specific punishment for this sin so its punishment becomes a discretionary punishment (ta’zeer).