Abstract1-Butyl-3-vinylimidazolium chloride was synthesized and polymerized with acrylamide to furnish an ionic liquid-containing polymer, which was then used for the formation of a composite with iron-based metal–organic framework. The resultant composite was characterized with XRD, TGA, FE-SEM, FTIR, EDS and elemental mapping analyses and its catalytic activity was appraised for ultrasonic-assisted Knoevenagel condensation. The results confirmed that the prepared composite could promote the reaction efficiently to furnish the corresponding products in high yields in very short reaction times. Moreover, the composite exhibited high recyclability up to six runs. It was also established that the activity of the composite was higher compared to pristine metal–organic framework or polymer.