It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Swearing an oath ends either in breaking it or in regret."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأيمان / 19839