It is narrated from Hazrat Asma (may Allah be pleased with her) that the Prophet (peace and blessings be upon him) said: "Lying is not permissible in any situation except in three cases: one, a man who lies to please his wife; second, a man who lies in war; third, a man who lies to reconcile between two Muslims."
Hadith Referenceمسند احمد / من مسند القبائل / 27597
Hadith Gradingحکم دارالسلام:إسناده ضعيف لضعف شهر بن حوشب ، واختلف فيه على سفيان الثوري