It is narrated from Sayyiduna Abdullah bin al-Zubayr (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "A man swore a false oath by Allah, besides whom there is no true god, and Allah forgave him."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13884