Yes it is a risk and at this point you can only wait and test. Take an antibody test at 8 weeks.
You had a high risk from unprotected intercourse. Take an antibody test at 6-8 weeks then again at 3 months.
3bouda,
HIV-1 has an incubation period of viral replication of approximately 2-4 weeks with 98.3% or seropositive conversions happening around day 22. HIV-2 has a much longer incubation period, but you said you're from the Middle East and it's extremely unlikely you would have been exposed to HIV-2.
Do you have access to a medical facility that can administer a HIV-1/2 RNA Polymerase immunoassay test? At 40 days, if you were exposed and seroconversion occurred there would 98.9% be detectable antibodies present.
You can order the OraQuick HIV-1/2 Ellisa antigen assay online and they ship internationally.
Oraquick does not test for antigens.