7 speed freehubs are usually narrower than 8-9-10 speed so probably won't work. The rear dropouts on your bike may be 126 mm, the usual for 7 speed instead of the 130 mm needed.
Check and then Google as there are ways around this. The fix may depend on what your frame is made of.