He certainly denied that we should pray FOR the dead souls in Purgatory.
However, nowhere in the 95 Theses did he condemn prayers for the intercession of the saints. This WAS rejected by the time of the Augsburg Confession, but I'm not sure exactly when Luther made this determination.
95 Theses did not define ML’s belief. it certainly defined his understanding of the doctrine of repentance.
IOW, don’t define ML ^narrowly^ by his 95.