Article 2, Section 1, Clause 6

In Case of the Removal of the President from Office, or of his Death, Resignation, or Inability to discharge the Powers and Duties of the said Office, the Same shall devolve on the Vice President, and the Congress may by Law provide for the Case of Removal, Death, Resignation or Inability, both of the President and Vice President, declaring what Officer shall then act as President, and such Officer shall act accordingly, until the Disability be removed, or a President shall be elected.

1.Records of the Federal Convention
2.Federal Farmer, no. 14, 17 Jan. 1788
3.James Madison to Edmund Pendleton, 21 Feb. 1792
4.Joseph Story, Commentaries on the Constitution 3:§§ 1475--78, 1833