Tunisia's Islamist premier Ali Larayedh announced on Thursday that he had handed his resignation to President Moncef Marzouki in line with an accord to end months of political deadlock.