Namaz Before Islam
Not only prayer but all rituals are mentioned by Qur’an that they were being practiced by the polytheists and the Jews but with innovations and distortions which the prophet corrected and then added something to them to finalize under the guidance of God.