House Speaker Paul D. Ryan scratched plans for a fund-raiser on Wednesday that was to benefit the re-election campaign of Representative Lee M. Zeldin after Mr. Zeldin, a Republican from Long Island, voted against the sweeping tax overhaul that cleared the House this month.



Several people familiar with the planning for the fund-raiser said the cancellation was designed to punish Mr. Zeldin, who not only voted against the bill but was outspoken about one aspect: the elimination of the federal deduction for state and local taxes, which particularly impacts high-tax states like New York.

“The campaign can confirm, but has no further comment,” Mr. Zeldin’s campaign said in a statement in response to questions from The New York Times.

The fund-raising lunch event still occurred on Wednesday, but the proceeds now went to Mr. Ryan’s political operation and the National Republican Congressional Committee, rather than Mr. Zeldin’s campaign.