8 and 9 speed have different spacing between each sprocket so are not compatible. 7 speed will work on an 8 speed freehub with a spacer as they have the same sprocket spacing.
As above - I've done it myself recently. However for future reference I find my LBS ( a small shop that does a lot of repairs and servicing)very useful for odd bits like spacers. They usually have old ones knocking around in the service area and are very happy to pass them on (often without charge) to regulars.