The controversial 26-year-old made 164 appearances, scoring 34 goals, after joining QPR in March 2009 from Tottenham Hotspur, initially on loan before completing a permanent transfer the following year.
In 2010/11, the Moroccan captained QPR to the Championship title and was named the division's Player of the Year after a stunning season in which he scored 19 goals and had 19 assists, helping the club return to the top flight after a 15-year absence.
The next season he helped QPR retain their Premier League status, scoring crucial goals in victories over Arsenal and Tottenham Hotspur, but the team were relegated last season.
(Writing by Ken Ferris; editing by Peter Rutherford)