President Obama on Thursday slammed Sen. Marco RubioMarco Antonio RubioWisconsin GOP says hackers stole .3M Hillicon Valley: Big Tech hearing the most partisan yet | Rubio warns about foreign election interference | Trump campaign site briefly hacked Rubio warns that election interference may ramp up around Election Day MORE (R-Fla.) and other GOP lawmakers for continuing to support Republican presidential nominee Donald TrumpDonald John TrumpBiden campaign slams Facebook after thousands of ads blocked by platform's pre-election blackout Mnuchin says he learned of Pelosi's letter to him about stimulus talks 'in the press' Harris to travel to Texas Friday after polls show tie between Trump, Biden MORE.

Obama noted that Rubio called Trump a "con artist" while the two were battling it out in the GOP primaries.

ADVERTISEMENT

"Now that begs the question, since we're in Florida, why does Mr. Rubio still plan to vote for Donald Trump?" Obama said during a rally for Democratic presidential nominee Hilary Clinton in Miami.

Obama, who was also campaigning on behalf of Rubio's Democratic Senate challenger, Rep. Patrick Murphy, said, "There has to be a point where you stand for something more than just party, or more than just your own career."

"How can you call him a con artist and dangerous and object to all the controversial things he says and then say, 'But I'm still going to vote for him.' Come on, man. Come on, man," Obama said.

"That's a sign of somebody who will say anything, do anything, pretend to be anybody, just to get elected," Obama said.

Rubio is locked in a tight race with Murphy as Republicans look to maintain their Senate majority after the election. Rubio has a 5-point lead over Murphy, 47-42 percent, according to theĀ RealClearPolitics polling index.