Sources
Westminster Confession of Faith (1646), 21.4: prayer, not for the dead
“Prayer is to be made for things lawful, and for all sorts of men living, or that shall live hereafter: but not for the dead, nor for those of whom it may be known that they have sinned the sin unto death.” It alleges 1 John 5:14; 1 Tim 2:1,2; John 17:20; 2 Sam 12:21-23; Luke 16:25,26; 1 John 5:16.
Original English text, as given at westminster1647.com (/cfw/21).