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