Have any American presidential candidates campaigned on the premise of barring immigrant based on their religion before?

by bugaoxing
LatakiaBlend

You may be interested in the Know Nothing platform of 1856.

The American Party (as it was after 1855) was a fervently nativist party that opposed "Papism" as a major plank of its platform.

The platform of '56 is below:

(1) Repeal of all Naturalization Laws.

(2) None but Americans for office.

(3) A pure American Common School system.

(4) War to the hilt, on political Romanism.

(5) Opposition to the formation of Military Companies, composed of Foreigners.

(6) The advocacy of a sound, healthy and safe Nationality.

(7) Hostility to all Papal influences, when brought to bear against the Republic.

(8) American Constitutions & American sentiments.

(9) More stringent & effective Emigration Laws.

(10) The amplest protection to Protestant Interests.

(11) The doctrines of the revered Washington.

(12) The sending back of all foreign paupers.

(13) Formation of societies to protect American interests.

(14) Eternal enmity to all those who attempt to carry out the principles of a foreign Church or State.

(15) Our Country, our whole Country, and nothing but our Country.

(16) Finally,-American Laws, and American legislation; and death to all foreign influences, whether in high places or low!

If you're interested in the document an image can be found here: http://library.duke.edu/rubenstein/scriptorium/americavotes/know-nothing-letter.jpeg

Those with more knowledge of the Know Nothings may be able to provide further information but I hope this is a good starting point.