JERUSALEM — Legislation in Poland that would outlaw blaming Poles for the crimes of the Holocaust has prompted swift and furious condemnation from Prime Minister Benjamin Netanyahu of Israel and Israeli lawmakers across the political spectrum.

The measure, which passed in the lower house of the Polish Parliament on Friday, would make it illegal to suggest Poland bore responsibility for atrocities committed on its soil by Nazi Germany during the occupation in World War II.

“The law is baseless; I strongly oppose it,” Mr. Netanyahu said in a statement on Saturday. “One cannot change history, and the Holocaust cannot be denied.”

Mr. Netanyahu said he had instructed the Israeli ambassador to Poland to meet with the Polish prime minister and express his disapproval.