One of Scott Walker’s top fundraisers met with Donald Trump on Monday and discussed the possibility of leaving the Wisconsin governor’s camp to work for the GOP presidential front-runner’s campaign, the fundraiser and Mr. Trump said.

Anthony Scaramucci, a national finance co-chairman for Mr. Walker’s campaign, said in a phone interview that the two discussed the possibility of his defecting to Mr. Trump but that he told the businessman it wasn’t possible.

“He wants to drop Walker and go with me,” Mr. Trump said in a phone interview. “He wants to endorse me. He said, ‘I want to drop Walker and endorse you.’ ”

The meeting between Mr. Trump and Mr. Scaramucci, managing partner of New York-based investment firm SkyBridge Capital, came after the celebrity businessman attacked hedge-fund operators, saying Sunday that they are “getting away with murder.” Each man said the other requested the meeting.

Mr. Scaramucci said that in the meeting, at the Trump Tower in New York, he asked Mr. Trump to stop his rhetorical attacks against hedge funds.