"For the one who makes unlawful is the swearing." (Sahih)And Ibn 'Abbas used to say: "You had the best example in the Messenger of Allah." (33:21)
Sunan Ibn Majah Book 10, Hadith 58