In classrooms facing a sandy courtyard in the northern Nigerian city of Kaduna, Maska Road Islamic School teaches a creed that condemns the violent ideology of groups like Boko Haram.

Not everyone has got its message. Umar Farouk Abdulmutallab, known as the "Pants Bomber," spent his youth in this school — and ended up trying unsuccessfully to blow up a U.S. airliner on Christmas Day 2009 using explosives hidden in his underwear.

But the school is steadfast in preaching tolerance to its pupils, and the government is about to adopt this message in a new strategy for containing Boko Haram, which has killed thousands in a five-year campaign for an Islamic state.