It is narrated from Sayyiduna Ali (may Allah be pleased with him) that he said: "If I narrate to you a hadith from the Messenger of Allah (peace and blessings be upon him), then (rather than attribute a lie to him) falling from the sky is dearer to me than attributing to the Messenger of Allah (peace and blessings be upon him) something he (peace and blessings be upon him) did not say. But when I speak to you from my own opinion, (then remember that) war is deception."
Ali bin Rabi'ah (may Allah have mercy on him) narrates: I heard Sayyiduna Ali (may Allah be pleased with him) on the pulpit when a man came to him and said: "O Commander of the Believers! Why is it that I see you turning people about the way a man turns his camels? Is this a covenant from the Messenger of Allah (peace and blessings be upon him), or something that is your own opinion?" He said: "By Allah! I have not lied, nor have I been lied to; I have not gone astray, nor have I been led astray. Rather, it is a covenant of the Messenger of Allah (peace and blessings be upon him) that he (peace and blessings be upon him) specially made with me, 'and whoever invents a lie has certainly failed.'"
The narrators of this chain are thiqat (trustworthy).
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب العلم / 309