in 2004 , a foundation that was based in saudi arabia with branch offices in the united states which this mosque supported had its assets blocked by the fbi after finding that it was directly funding al-qaeda .