The Turkish club revealed the arrival of the Algeria international on their official website, though Leicester are yet to confirm the deal.
The 30-year-old scored regularly during his time with Sporting in Portugal but struggled for goals in England, managing just eight for Leicester in the Premier League.
He spent the second half of the 2017-18 campaign on loan to Newcastle United, failing to find the net in four appearances.