from Ibn 'Abbas, regarding: 'And offer your Salat neither aloud nor in a low voice (17:110)." He said: "It was revealed in Makkah. When the Messenger of Allah ﷺ would raise his voice with the Qur'an, the idolaters would insult him, the One Who revealed it, and the one who came with it. So Allah revealed: And offer your Salat neither aloud so that they would not insult the Qur'an and the One who revealed it, and the one who came with it, nor in a low voice (too low) such that you can let your Companions hear it, and learn it from you."
نَزَلَتْ بِمَكَّةَ كَانَ رَسُولُ اللَّهِ ﷺ إِذَا رَفَعَ صَوْتَهُ بِالْقُرْآنِ سَبَّهُ الْمُشْرِكُونَ وَمَنْ أَنْزَلَهُ وَمَنْ جَاءَ بِهِ فَأَنْزَلَ اللَّهُ (وَلاَ تَجْهَرْ بِصَلاَتِكَ ) فَيَسُبُّوا الْقُرْآنَ وَمَنْ أَنْزَلَهُ وَمَنْ جَاءَ بِهِ (وَلاَ تُخَافِتْ بِهَا ) عَنْ أَصْحَابِكَ بِأَنْ تُسْمِعَهُمْ حَتَّى يَأْخُذُوا عَنْكَ الْقُرْآنَ