From Wiktionary, the free dictionary
Borrowed from Spanish Ifni, from either Arabic إفني or Moroccan Amazigh ⵉⴼⵏⵉ (ifni).
Ifni
- (historical) A former Spanish province on the Atlantic coast of Morocco, south of Agadir and across from the Canary Islands.