On the tempered spectrum of quasi-split classical groups