Sunan an-Nasa'i #1012 · The Book of the Commencement of the Prayer

Sunan an-Nasa'iIt was narrated that Ibn Abbas said
Sunan an-Nasa'i · Book 11 · The Book of the Commencement of the Prayer
Sunan an-Nasa'i · كتاب 11 · كتاب افتتاح الصلاة
"The Prophet (ﷺ) used to raise his voice when reciting Quran, and when the idolaters heard his voice they would insult the Quran and the one who had brought it. So the Prophet (ﷺ) began to lower his voice such that his companions would not hear him. Then Allah (SWT), the Mighty and Sublime, revealed: 'And offer your salah (prayer) neither aloud nor in a low voice, but follow a way between
أَخْبَرَنَا مُحَمَّدُ بْنُ قُدَامَةَ، قَالَ حَدَّثَنَا جَرِيرٌ، عَنِ الأَعْمَشِ، عَنْ جَعْفَرِ بْنِ إِيَاسٍ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم يَرْفَعُ صَوْتَهُ بِالْقُرْآنِ وَكَانَ الْمُشْرِكُونَ إِذَا سَمِعُوا صَوْتَهُ سَبُّوا الْقُرْآنَ وَمَنْ جَاءَ بِهِ فَكَانَ النَّبِيُّ صلى الله عليه وسلم يَخْفِضُ صَوْتَهُ بِالْقُرْآنِ مَا كَانَ يَسْمَعُهُ أَصْحَابُهُ فَأَنْزَلَ اللَّهُ عَزَّ وَجَلَّ ‏{‏ وَلاَ تَجْهَرْ بِصَلاَتِكَ وَلاَ تُخَافِتْ بِهَا وَابْتَغِ بَيْنَ ذَلِكَ سَبِيلاً ‏}‏ ‏
"‏ ‏.‏
Reference : Sunan an-Nasa'i 1012In-book reference : Book 11, Hadith 137