No, it is a wash sale. But, if this happened in the same tax year, there is no change to the gain that will be taxed.
Suppose there was no wash sale rule. Then, there would be a loss of $950 on the first 50 shares. But there would be a gain of $1,000 on the next 1,000 shares ($6,000 proceeds...