A murder investigation has been launched after a teenager was stabbed to death outside a mosque, with two others taken to hospital.