Imam al-Nawawi's introduction to this chapter
اعلَمْ أنَّ الكَذِبَ، وإنْ كَانَ أصْلُهُ مُحَرَّمًا، فَيَجُوزُ في بَعْضِ الأحْوَالِ بِشُروطٍ قَدْ أوْضَحْتُهَا في كتاب: «الأَذْكَارِ»، ومُخْتَصَرُ ذَلِكَ: أنَّ الكلامَ وَسيلَةٌ إِلَى المَقَاصِدِ، فَكُلُّ مَقْصُودٍ مَحْمُودٍ يُمْكِنُ تَحْصِيلُهُ بِغَيْرِ الكَذِبِ يَحْرُمُ الكَذِبُ فِيهِ، وإنْ لَمْ يُمْكِنْ تَحْصِيلُهُ إِلاَّ بالكَذِبِ، جازَ الكَذِبُ. ثُمَّ إنْ كَانَ تَحْصِيلُ ذَلِكَ المَقْصُودِ مُبَاحًا كَانَ الكَذِبُ مُبَاحًا، وإنْ كَانَ وَاجِبًا، كَانَ الكَذِبُ وَاجِبًا. فإذا اخْتَفَى مُسْلِمٌ مِنْ ظَالِمٍ يُريدُ
قَتْلَهُ، أَوْ أَخذَ مَالِهِ وأخفى مالَه وَسُئِلَ إنْسَانٌ عَنْهُ، وَجَبَ الكَذِبُ بإخْفَائِه. وكذا لو كانَ عِندَهُ وديعَةٌ، وأراد ظالمٌ أخذها، وجبَ الكذبُ بإخفائها. وَالأحْوَطُ في هَذَا كُلِّهِ أن يُوَرِّيَ. ومعْنَى التَّوْرِيَةِ: أَنْ يَقْصِدَ بِعِبَارَتِهِ مَقْصُودًا صَحيحًا لَيْسَ هُوَ كَاذِبًا بالنِّسْبَةِ إِلَيْهِ، وإنْ كَانَ كَاذِبًا في ظَاهِرِ اللَّفْظِ، وبالنِّسْبَةِ إِلَى مَا يَفْهَمُهُ المُخَاطَبُ، وَلَوْ تَرَكَ التَّوْرِيَةَ وَأطْلَقَ عِبَارَةَ الكَذِبِ، فَلَيْسَ بِحَرَامٍ في هَذَا الحَالِ.
وَاسْتَدَل العُلَمَاءُ بِجَوازِ الكَذِبِ في هَذَا الحَالِ بِحَديثِ أُمِّ كُلْثُومٍ رضي الله عنها، أنها سمعتْ رسُولَ الله - صلى الله عليه وسلم - يقول: «لَيْسَ الكَذَّابُ الَّذِي يُصْلِحُ بَيْنَ النَّاسِ، فَيَنْمِي خَيْرًا أَوْ يَقُولُ خَيْرًا». متفق عَلَيْهِ.
زاد مسلم في رواية: قالت أُمُّ كُلْثُومٍ: وَلَمْ أسْمَعْهُ يُرَخِّصُ في شَيْءٍ مِمَّا يَقُولُ النَّاسُ إِلاَّ في ثَلاَثٍ، تَعْنِي: الحَرْبَ، والإصْلاَحَ بَيْنَ النَّاسِ، وَحَديثَ الرَّجُلِ امْرَأَتَهُ، وَحديثَ المَرْأَةِ زَوْجَهَا.
Know that lying, although it is forbidden in principle, is permissible in some situations under conditions that I have explained in the book al-Adhkar. In short: speech is a means to ends. So every praiseworthy end that can be achieved without lying, lying is forbidden in it; and if it cannot be achieved except by lying, lying is permissible. Then, if achieving that end is permissible, the lie is permissible; and if it is obligatory, the lie is obligatory. So if a Muslim hides from an oppressor who wants to kill him or take his wealth, and he has hidden his wealth, and a person is asked about him, it is obligatory to lie in order to conceal him. Likewise, if someone holds something in trust and an oppressor wants to take it, it is obligatory to lie in order to conceal it. The more cautious course in all of this is to use tawriyah (deliberate ambiguity). The meaning of tawriyah is that by his words he intends a correct meaning with respect to which he is not lying, even though he is lying according to the outward wording and according to what the listener understands. And if he leaves tawriyah and utters a plain lie, it is not forbidden in this situation.
The scholars have taken as evidence for the permissibility of lying in this situation the hadith of Sayyidah Umm Kulthum (may Allah be pleased with her), that she heard the Messenger of Allah (peace and blessings be upon him) say: "He is not a liar who makes peace between people, and passes on good or says good." (Agreed upon)
Muslim added in a narration: Umm Kulthum (may Allah be pleased with her) said: I did not hear him grant a concession in anything of what people say (contrary to fact) except in three (things), meaning: war, making peace between people, and a man's talk to his wife and a woman's talk to her husband.