Sahih al-Bukhari Book 65, Hadith 245
The (above) verse was revealed in connection with the invocations.
(regarding): 'Neither say your, prayer aloud, nor say it in a low tone.' (17.110) This Verse was revealed while Allah's Messenger (ﷺ) was hiding himself in Mecca. When he prayed with his companions, he used to raise his voice with the recitation of Qur'an, and if the pagans happened to hear him, they would abuse the Qur'an, the One who revealed it and the one who brought it. Therefore Allah said to His Prophet : 'Neither say your prayer aloud.' (17.110) i.e. do not recite aloud lest the pagans should hear you, but follow a way between.
That one night Allah's Messenger (ﷺ) came to him and Fatima and said, "Don't you (both offer the (Tahajjud) prayer?" `Ali said, 'When Allah wishes us to get up, we get up." The Prophet (ﷺ) then recited: 'But man is more quarrelsome than anything.' (18.54) (See Hadith No. 227,Vol. 2)