James Anderson's Constitution specified that Masons were obliged only "to that Religion in which all Men agree."
James Anderson, The Constitutions of the Free-Masons (1734). An Online Electronic Edition. Online electronic edition ed. Faculty Publications, University of Nebraska Libraries 25. Philadelphia, PA: Franklin, Benjamin, 1734, p. 48. Original edition, 1723, accessed March 28, 2015
A Mason is oblig’d by his Tenure, to obey the moral Law ; and if he rightly understands the Art, he will never be a stupid Atheist, nor an irreligious Libertine. But though in ancient Times Masons were charg’d in every Country to be of the Religion of that Country or Nation, whatever it was, yet ’tis now thought more expedient only to oblige them to that Religion in which all Men agree, leaving their particular Opinions to themselves ; that is, to be good Men and true, or Men of Honour and Honesty, by whatever Denominations or Persuasions they may be distinguish’d ; whereby Masonry becomes the Center of Union, and the Means of conciliating true Friendship among Persons that must else have remain’d at a perpetual Distance.