The present invention relates to a compound or a pharmaceutically acceptable salt or solvate thereof for use in inhibiting HIV capsid assembly, the compound comprising the core structurewherein E is CR7or S, and wherein f is 0 or 1, and wherein in case E is S, f is 0, and wherein the core structure is at least substituted in 2 and 4 position, and wherein the residue R6 and R7, are, independently of each other, selected from the group consisting of -H, -D, -alkyl, alkoxy, alkenyl, alkynyl, halides, -NO2, - OH, - NH2, -NHR4#, -CN, -S(O)R4#, -SO2R4#, -P(O)R4#R5#, -P(O)(OR4#)R5#, - P(O)(OR4#)(OR5#), -C(O)NR4#R5#, -C(O)SR4#, -C(O)R4#, -C(O)O-R4#, alkoxy and glycol chains and wherein R6 may optionally form a cyclic residue, with a further substituent present 5 or 6 position, and wherein R4# and R5# are, independently of each other, selected from the group consisting of -H, -alkyl, -alkenyl, - heterocycloalkyl, aryl and heteroaryl.