And he said to the one of the two who he knew would be saved : ' Mention me in the presence of your lord ' But satan made him forget to mention him to his master , so that he remained in prison for a certain number years .