The Messenger of Allah ﷺ went out on the day of Badr along with three hundred and fifteen (men). The Messenger of Allah ﷺ said: O Allah, they are on foot, provide mount for them; O Allah , they are naked, clothe them; O Allah, they are hungry, provide food for them. Allah then bestowed victory on them. They returned when they were clothed. There was no man of them but he returned with one or two camels; they were clothed and ate to their fill. (Using translation from Abū Dāʾūd 2747)
أَنَّ رَسُولَ اللَّهِ ﷺ خَرَجَ يَوْمَ بَدْرٍ بِثَلَاثِ مِائَةٍ وَخَمْسَةَ عَشَرَ مِنَ الْمُقَاتِلَةِ كَمَا خَرَجَ طَالُوتُ فَدَعَا لَهُمْ رَسُولُ اللَّهِ ﷺ حِينَ خَرَجَ فَقَالَ «اللَّهُمَّ إِنَّهُمْ حُفَاةٌ فَاحْمِلْهُمْ اللَّهُمَّ إِنَّهُمْ عُرَاةٌ فَاكْسُهُمْ اللَّهُمَّ إِنَّهُمْ جِيَاعٌ فَأَشْبِعْهُمْ» فَفَتَحَ اللَّهُ لَهُمْ يَوْمَ بَدْرٍ فَانْقَلَبُوا وَمَا مِنْهُمْ رَجُلٌ إِلَّا قَدْ رَجَعَ بِجَمَلٍ أَوْ جَمَلَيْنِ وَاكْتَسَوْا وَشَبِعُوا