Language:
كتاب التمنى
94  
Wishes
(7)
Chapter: “Without Allah, we would not have been guided.”
(7)
باب قَوْلِ الرَّجُلِ لَوْلاَ اللَّهُ مَا اهْتَدَيْنَا
Sahih al-Bukhari 7236

Narrated Al-Bara' bin `Azib:

The Prophet (ﷺ) was carrying earth with us on the day of the battle of Al-Ahzab (confederates) and I saw that the dust was covering the whiteness of his `Abdomen, and he (the Prophet (ﷺ) ) was saying, "(O Allah) ! Without You, we would not have been guided, nor would we have given in charity, nor would we have prayed. So (O Allah!) please send tranquility (Sakina) upon us as they, (the chiefs of the enemy tribes) have rebelled against us. And if they intend affliction (i.e. want to frighten us and fight against us) then we would not (flee but withstand them). And the Prophet (ﷺ) used to raise his voice with it. (See Hadith No. 430 and 432, Vol. 5)

حَدَّثَنَا عَبْدَانُ، أَخْبَرَنِي أَبِي، عَنْ شُعْبَةَ، حَدَّثَنَا أَبُو إِسْحَاقَ، عَنِ الْبَرَاءِ بْنِ عَازِبٍ، قَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم يَنْقُلُ مَعَنَا التُّرَابَ يَوْمَ الأَحْزَابِ، وَلَقَدْ رَأَيْتُهُ وَارَى التُّرَابُ بَيَاضَ بَطْنِهِ يَقُولُ ‏ "‏ لَوْلاَ أَنْتَ مَا اهْتَدَيْنَا نَحْنُ، وَلاَ تَصَدَّقْنَا وَلاَ صَلَّيْنَا، فَأَنْزِلَنْ سَكِينَةً عَلَيْنَا، إِنَّ الأُلَى وَرُبَّمَا قَالَ الْمَلاَ قَدْ بَغَوْا عَلَيْنَا، إِذَا أَرَادُوا فِتْنَةً أَبَيْنَا ‏"‏ أَبَيْنَا يَرْفَعُ بِهَا صَوْتَهُ‏.‏
Reference : Sahih al-Bukhari 7236
In-book reference : Book 94, Hadith 11
USC-MSA web (English) reference : Vol. 9, Book 90, Hadith 342
  (deprecated numbering scheme)