Reference: http://mufti.af.org.sa/ar/content/الكذب-من-غير-قصد-هل-هو-حرام؟
Question: Is lying without intending [to lie] prohibited?
Response: The basic rule with regard to lying is that it is not permitted, and it is a trait of the hypocrites. [But] there are certain circumstances where it is permissible to lie – as legislated in the hadeeth[1] – and they are three:
1) A husband [lying] to his wife, and the wife [lying] to her husband;
2) Reconciling between the [quarrelling] people;
3) In war – with the enemies.
Other than that, the basic rule with regard to lying is that it is not permitted.
Footnote:
[1] Asmaa. bint Yazeed said: “The Messenger of Allaah ﷺ said: