A prominent Palestinian journalist and author has resigned from his post at Asharq Al-Awsat, a Saudi pan-Arab newspaper, over what he described as the "distressing, painful and hideous" killing of fellow journalist Jamal Khashoggi, who was murdered in the Saudi consulate in Istanbul three weeks ago.