Fact Check

Criticizing Islam won't bring 5-year prison sentence in Spain. Here's how we know

Social media posts claimed Spain's Prime Minister Pedro Sánchez announced a new law that would punish critics of Islam.

by Laerke Christensen, Published April 15, 2026


Spain's Prime Minister Pedro Sanchez, a white man, speaks at a news conference in Madrid on March 20, 2026.

Image courtesy of Pierre-Philippe Marcou, accessed via Getty Images


Claim:
In April 2026, Spain’s Prime Minister Pedro Sánchez announced that anyone who insulted the Prophet Muhammad or the Islamic faith would face a five-year prison sentence.
Rating:
False

About this rating


A claim (archived) circulated online in April 2026 that Spanish Prime Minister Pedro Sánchez announced that anyone who insulted the Prophet Muhammad or the Islamic faith would face a five-year prison sentence.

One Threads account that shared the news posted an image with a quote about the alleged new law attributed to Sánchez commented, "Spain fought for centuries to become a Christian Country. All it took was one leftist Prime Minister to reverse everything."

 
View on Threads

The claim and an image of what appeared to be Sánchez holding a Quran also circulated on Facebook (archived) and X (archived).

Online searches revealed no credible reports that Sánchez had actually announced a new law imposing five-year prison sentences on anyone who insulted the Prophet Muhammed and Islam (archived, archived, archived, archived). Reputable outlets like Reuters or The Associated Press would have reported on the matter if Sánchez had proposed it or announced it as law

Neither "Muhammad," "Mahoma" (a Spanish version of the Prophet Muhammad's name) nor "Islam" featured in the latest version of the Spanish penal code, which would have included such a law. The image that accompanied the claim when it first circulated (archived) in March 2026, which showed Sánchez holding a Quran, appeared to have been edited using artificial intelligence. 

Given the above, we rate this claim false, meaning Sánchez didn't make the claimed announcement. 

Snopes contacted the Spanish government, which Sánchez heads, to ask about the alleged announcement and await a reply to our query.

No evidence of Sánchez announcement in Spanish law

If Sánchez had announced a newly-passed law against criticizing Islam, the law would have appeared in the latest edition of the country's criminal code, the Código Penal. That was not the case, though some of Spain's existing legislation has outlined punishments for free speech offenses for decades. 

The penal code has made promoting or inciting hatred or hostility against groups — including religious groups — punishable by at least a year in prison since 1996. In 2015, Spain increased the maximum prison term for such offenses from three to four years. 

The most recent version of the relevant law, Section 1 of Article 510 of the Código Penal from 2022, called for a one-to-four-year prison sentence and fine for people who: 

... publicly foster, promote, or incite, directly or indirectly, hatred, hostility, discrimination, or violence against a group, a part thereof, or a specific person on the grounds of their membership in that group.

People who "produce, create, possess with the intent to distribute" material that "is suitable for fostering, promoting, or inciting, directly or indirectly, hatred, hostility, discrimination, or violence against a group," could also face the same punishment, according to Section 1.

Section 2 of Article 510 called for up to two years' imprisonment and a fine for people who "injure the dignity of persons through actions that entail humiliation, contempt or discrediting" of various groups defined in Section 1 that included religious groups. 

The punishment for crimes defined in Section 2 could increase to match the one-to-four-year prison sentence and fine that courts gave out for Section 1 offenses if the Section 2 offense promoted or favored "a climate of violence, hostility, hatred or discrimination against the aforementioned groups."

Article 510 did not specifically mention Islam or the Prophet Muhammad.

Fake image further discredited claim

Aside from a lack of evidence in reports or legal records of Sánchez's claimed announcement, the image that circulated alongside the claim when it first appeared online in March 2026 served to further discredit it.

That image, which appeared to show Sánchez holding a Quran, appeared to have been edited using artificial intelligence. It appeared to be based on photos of Sánchez speaking about the energy crisis caused by the war in Ukraine at a news conference in Slovakia in 2022. The 2022 photos did not show Sánchez holding a Quran.

Closer inspection of said Quran revealed someone had edited the image of Sánchez. According to online searches, the Quran Sánchez held closely resembled a Mushaf al-Madinah edition Quran. The AI or person that edited the Quran into Sánchez' hand incorrectly replicated the front cover, omitting details from the top right and left corners and revealing the image to be fake.

DeepL.com provided translations from Arabic and Spanish into English.


By Laerke Christensen

Laerke Christensen is a journalist based in London, England, with expertise in OSINT reporting.


Source code