Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) reports that the Messenger of Allah (peace and blessings be upon him) said: "A man keeps speaking the truth and strives for truthfulness until he is recorded with Allah as a truthful one (Siddiq), and a man keeps telling lies and pursues falsehood until he is recorded with Allah as a liar."
Related hadith on this topic