For borrowers who closed on their FHA-insured loan on or after January 1, 2001 the Upfront Mortgage Insurance Premium (UFMIP) is not refundable except in connection with a refinance to another FHA-insured mortgage within 3 years.
To check if a borrower who closed on their FHA-insured loan prior to January 1, 2001 is eligible for a refund go to the following HUD website: https://entp.hud.gov/dsrs/refunds/
For additional information see Handbook 4000.1 II.A.2.e.i(B) at https://www.hud.gov/program_offices/administration/hudclips/handbooks/hsgh