Twenty-fifth Amendment to the United States Constitution (wikipedia)
Section 3: President’s declaration of inability
Section 3. Whenever the President transmits to the President pro tempore of the Senate and the Speaker of the House of Representatives his written declaration that he is unable to discharge the powers and duties of his office, and until he transmits to them a written declaration to the contrary, such powers and duties shall be discharged by the Vice President as Acting President.
Section 4: Declaration by vice president and cabinet members of president’s inability
Section 4. Whenever the Vice President and a majority of either the principal officers of the executive departments or of such other body as Congress may by law provide, transmit to the President pro tempore of the Senate and the Speaker of the House of Representatives their written declaration that the President is unable to discharge the powers and duties of his office, the Vice President shall immediately assume the powers and duties of the office as Acting President.
Rachel Maddow suggests Joe Biden isn’t too old to be president because ‘he rides a bike’ – NY Post