Prison”?
Not simply by winning an election.
This is where the viral claim needs some context.
Congress does not directly sentence a president to prison. Criminal punishment comes through the criminal justice system, including prosecutors and courts.
Congress does, however, have an important constitutional power: impeachment.
The House can impeach a president by approving articles of impeachment with a simple majority. The Senate then conducts the impeachment trial, and conviction requires a two-thirds vote of senators present.
And even an impeachment conviction itself is not a prison sentence. The Constitution