The 1689 Baptist Confession of Faith
Chapter 23: Lawful Oaths and Vows
23.1 A lawful oath is an act of worship in which the person swearing in [the light of God's] truth, righteousness and judgement, solemnly calls God to witness what he swears, and to judge him according to the truth or falsity of it. 
23.2 People should swear by the name of God alone, and his name is to be used with the utmost holy fear and reverence. To swear vainly or rashly by that glorious and awesome name, or to swear at all by any other thing, is sinful and to be abhorred.  An oath is sanctioned by the Word of God in weighty and momentous matters to confirm truth and end strife, so a lawful oath imposed by lawful authority ought in such circumstances to be taken. 
- Deuteronomy 6:13 Exodus 20:7 Jeremiah 5:7
- Hebrews 6:13-16 Genesis 24:3 Genesis 47:30-31 Genesis 50:25 1 Kings 17:1 Nehemiah 13:25 Nehemiah 5:12 Ezra 10:5 Numbers 5:19,21 1 Kings 8:31 Exodus 22:11 Isaiah 45:23 Isaiah 65:16 Matthew 26:62-64 Romans 1:9 2 Corinthians 1:23 Acts 18:18
23.3 Whoever takes an oath sanctioned by the Word of God ought to consider the seriousness of so solemn an act, and to affirm nothing but what one knows to be the truth. For by rash, false and empty oaths the Lord is provoked and because of them a nation is brought to misery. 
23.4 An oath is to be taken in the plain and ordinary sense of the words, without ambiguity or mental reservation. 
23.5 A vow is not to be made to any creature, but to God alone,  and it is to be performed with the utmost care and faithfulness.  But monastic vows of a perpetual single life, professed poverty, and regular obedience, are far from representing degrees of higher perfection, rather, they are superstitious and sinful snares in which no Christian ought to entangle himself. 
- Numbers 30:2-3 Psalms 76:11 Jeremiah 44:25-26
- Numbers 30:2 Psalms 61:8 Psalms 66:13-14 Ecclesiastes 5:4-6 Isaiah 19:21
- 1 Corinthians 6:18 with 1 Corinthians 7:2,9 1 Timothy 4:3 Ephesians 4:28 1 Corinthians 7:23 Matthew 19:11-12
The 1689 Baptist Confession of Faith was rewritten in modern English by Andrew Kerkham. It is reproduced here with his permission and under a Creative Commons license. Mr. Kerkham's original version can be found here.
Extended footnotes are from Sam Waldron's book A Modern Exposition of the 1689 Baptist Confession of Faith and are used here by permission.
Scripture from The Holy Bible, English Standard Version, copyright 2000, Crossway Bibles, www.crossway.com. Used by permission.