Amr bin Shu'ayb narrates from his father, from his grandfather (Sayyiduna Abdullah bin Amr, may Allah be pleased with them both), that the Prophet (peace and blessings be upon him) said: "There is no vow and no oath in what the son of Adam does not own, nor in disobedience to Allah, nor in severing ties of kinship; and whoever swears an oath and something else is better than it, let him leave the oath, for leaving it is its expiation."
This was also narrated through another chain that is weaker than this one.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأيمان / 19859