Borrowed from Classical Persian اف (uf), from Arabic أُفٍّ (ʔuffin), ultimately of onomatopoeic origin.
उफ़ • (uf) (Urdu spelling اف)