Police in Bangladesh have detained three men, including the head of an Islamic school, in connection with the stabbing death of a Hindu tailor in an attack claimed by the Islamic State group.

Police officer Saleh Muhammed Tanvir says the men were detained Sunday in the central district of Tangail. Nikhil Joarder was killed Saturday in his Tangail shop by two men on motorcycles.

The Islamic State group-affiliated Aamaq news agency issued a statement Saturday saying "elements of the Islamic State stabbed to death by knife a Hindu in Tangail in Bangladesh who was known for insulting Prophet Muhammad."

Joarder spent two weeks in prison in 2012 after a complaint that he made comments against Prophet Muhammad. He was released after the complaint was withdrawn.