Will work fine.............
I use a 9 speed Dura Ace chain on my 8 speed Dura Ace system, and it actually works better.....causes less chain rub up front.....
On 7 speed, the spacing difference is 0.1mm from 7 to 8 and I even use 8 speed spacers on my 7 speed bikes, so go for it.
If you have a choice, just get a KMC X series 8 speed chain rather than the extra cost of a 9 speed chain. If you already have a 9 speed chain, then use it.