Malaysia is ready to send troops to Jerusalem as violence escalated in the region after a Palestinian stabbed an Israeli security guard.