In a statement, judges at the court said Imad el Mouahhid, a 30-year-old from Tangier, "publicised a video by downloading it to YouTube, made in whole or in part by himself and titled: 'This is what the Imam of all Imams Osama taught me, may Allah accept it'."
Islamic State website hacked, replaced with Viagra advert
The video, nearly 49 minutes long, shows speeches by al Qaeda mastermind Bin Laden calling on people to fight and by other terrorist leaders, as well as images of training camps belonging to the extremist group, they added.
The court found El Mouahhid guilty of "glorifying terrorism."
Earlier in August, Spanish police detained a man suspected of selling clothes bearing Islamic State slogans and T-shirts showing a British aid worker just before his execution, the government said.
The man, a Spanish citizen whose name was not released, sold the items online to customers across Spain and neighbouring Portugal as well as at a shop he owned, an interior ministry statement said.
US school under fire for asking students to make Islamic State propaganda posters
Pictures released by the ministry showed a range of items the man was selling, including tote bags, shorts, sweatshirts, baby clothes and T-shirts bearing slogans in Arabic of Islamic State or another group, Harakat Sham al Islam.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ