Rabat - Morocco's Hachim Mastour signed for Malaga FC on a two-season loan.