A fire at an Islamic school in northwestern Nigeria killed at least 17 children, with many others injured authorities are investigating the cause.