Islamist militants ambushed a bus in Kenya on Saturday and sprayed bullets on those who failed to recite Quran verses, officials said.