Abu al-Ahwas reports this statement of his father: I came to the Prophet (peace and blessings be upon him), and he said: "What is your view: if you had two slaves, one of whom obeys you, does not betray you and does not lie to you, while the other betrays you and lies to you, would the one who obeys you and does not lie to you be more beloved to you, or the one who betrays you and lies to you?" I said: "No! Rather, the one who does not betray me, does not lie to me and tells me the truth would be more beloved to me." The Prophet (peace and blessings be upon him) said: "You people are likewise before your Lord."
Al-Tabarani recorded it.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الزهد / 17719