Sayyiduna Abd al-Rahman bin Samurah (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) said (and he mentioned it in the same way), and he said: "Give the expiation for your oath and do the better thing."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأيمان / 19956