Translation
(42) Model Behavior of the Prophet (Kitab Al-Sunnah)
كتاب السنة
(1685) Chapter: The Caliphs
(9) باب فِي الْخُلَفَاءِ
Sunan Abi Dawud 4654 
Abu Hurairah reported the Messenger of Allah (ﷺ) as saying – will be according to the version of Musa :
Perhaps Allah, and Ibn Sinan’s version has : Allah looked at the participants of the battle of Badr (with mercy) and said : Do whatever you wish ; I have forgiven you.
حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، ح وَحَدَّثَنَا أَحْمَدُ بْنُ سِنَانٍ، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَخْبَرَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ عَاصِمٍ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم قَالَ مُوسَى ‏"‏ فَلَعَلَّ اللَّهَ ‏"‏ ‏.‏ وَقَالَ ابْنُ سِنَانٍ ‏"‏ اطَّلَعَ اللَّهُ عَلَى أَهْلِ بَدْرٍ فَقَالَ اعْمَلُوا مَا شِئْتُمْ فَقَدْ غَفَرْتُ لَكُمْ ‏"‏ ‏.‏
Grade :  Hasan Sahih (Al-Albani) حسن صحيح  (الألباني)حكم :
Reference : Sunan Abi Dawud 4654
In-book reference : Book 42, Hadith 59
English translation : Book 41, Hadith 4637