The Messenger of Allah ﷺ said, "Lying is not permissible except in three cases. A man's speaking to his wife to please her, lying in war, and lying to bring about reconciliation between people."Mahmud said in his narration, "Lying is not appropriate except in three cases."This is a hasan hadith. We do not know it from the narration of Asma except through the narration of Ibn Khuthaym. Dawud bin Abu Hind also narrated this hadith from Shahr bin Hawshab from the Prophet ﷺ, without mentioning Asma in it. Muhammad bin Ala narrated this to us, saying Ibn Abu Zaida narrated to us from Dawud.
حدثنا محمد بن بشار حدثنا أبو أحمد الزبيري حدثنا سفيان قال ح و حدثنا محمود بن غيلان حدثنا بشر بن السري وأبو أحمد قالا حدثنا سفيان عن عبد الله بن عثمان بن خثيم عن شهر بن حوشب
قال رسول الله ﷺ لا يحل الكذب إلا في ثلاث يحدث الرجل امرأته ليرضيها والكذب في الحرب والكذب ليصلح بين الناس و قال محمود في حديثه لا يصلح الكذب إلا في ثلاث هذا حديث حسن لا نعرفه من حديث أسماء إلا من حديث ابن خثيم وروى داود بن أبي هند هذا الحديث عن شهر بن حوشب عن النبي ﷺ ولم يذكر فيه عن أسماء حدثنا بذلك محمد بن العلاء حدثنا ابن أبي زائدة عن داود
Agreed upon [by Bukhari and Muslim]. Muslim narrated it in "The Book of Righteousness and Kinship, Chapter on the Prohibition of Lying, and What Is Permissible," hadith no. 2605, from the hadith of Ismail, and Bukhari narrated it, hadith no. 2692, from the hadith of Zuhri, with the same wording. From it.