Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
malik:3-74Mālik > ʿAbdullāh b. Abū Bakr

Malik related to me from Abdullah ibn Abi Bakr that Abu Talha al- Ansari was praying in his garden when a wild pigeon flew in and began to fly to and fro trying to find a way out. The sight was pleasing to him and he let his eyes follow the bird for a time and then he went back to his prayer but could not remember how much he had prayed. He said, "A trial has befallen me in this property of mine." So he came to the Messenger of Allah ﷺ and mentioned the trial that had happened to him in his garden and said, "Messenger of Allah, it is a sadaqa for Allah, so dispose of it wherever you wish."  

مالك:٣-٧٤وَحَدَّثَنِي مَالِكٌ عَنْ عَبْدِ اللَّهِ بْنِ أَبِي بَكْرٍ

أَنَّ أَبَا طَلْحَةَ الأَنْصَارِيَّ كَانَ يُصَلِّي فِي حَائِطِهِ فَطَارَ دُبْسِيٌّ فَطَفِقَ يَتَرَدَّدُ يَلْتَمِسُ مَخْرَجًا فَأَعْجَبَهُ ذَلِكَ فَجَعَلَ يُتْبِعُهُ بَصَرَهُ سَاعَةً ثُمَّ رَجَعَ إِلَى صَلاَتِهِ فَإِذَا هُوَ لاَ يَدْرِي كَمْ صَلَّى فَقَالَ لَقَدْ أَصَابَتْنِي فِي مَالِي هَذَا فِتْنَةٌ فَجَاءَ إِلَى رَسُولِ اللَّهِ ﷺ فَذَكَرَ لَهُ الَّذِي أَصَابَهُ فِي حَائِطِهِ مِنَ الْفِتْنَةِ وَقَالَ يَا رَسُولَ اللَّهِ هُوَ صَدَقَةٌ لِلَّهِ فَضَعْهُ حَيْثُ شِئْتَ  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:3873Abū Aḥmad al-Mihrajānī > Abū Bakr b. Jaʿfar > Muḥammad b. Ibrāhīm > Ibn Bukayr > Mālik > ʿAbdullāh b. Abū Bakr

[Machine] Abu Talhah Al-Ansari used to pray in a particular area and was distracted by something. He hesitated and sought a way out. He found it fascinating and continued to follow it with his sight for a while, then he returned to his prayer. Upon finishing, he realized that he did not know how many units of prayer he had performed. He said, "A temptation has afflicted me concerning my wealth." He then went to the Messenger of Allah ﷺ and narrated to him the temptation that had occurred to him in the area where he prayed. The Prophet ﷺ said to him, "O Messenger of Allah, it is a charity, so place it wherever you like."  

البيهقي:٣٨٧٣أَخْبَرَنَاهُ أَبُو أَحْمَدَ الْمِهْرَجَانِيُّ أنبأ أَبُو بَكْرِ بْنُ جَعْفَرٍ ثنا مُحَمَّدُ بْنُ إِبْرَاهِيمَ ثنا ابْنُ بُكَيْرٍ ثنا مَالِكٌ عَنْ عَبْدِ اللهِ بْنِ أَبِي بَكْرٍ

أَنَّ أَبَا طَلْحَةَ الْأَنْصَارِيَّ كَانَ يُصَلِّي فِي حَائِطٍ لَهُ فَطَارَدَ بِشَيْءٍ فَطَفِقَ يَتَرَدَّدُ يَلْتَمِسُ مَخْرَجًا فَأَعْجَبَهُ ذَلِكَ فَجَعَلَ يُتْبِعُهُ بَصَرَهُ سَاعَةً ثُمَّ رَجَعَ إِلَى صَلَاتِهِ فَإِذَا هُوَ لَا يَدْرِي كَمْ صَلَّى فَقَالَ لَقَدْ أَصَابَنِي فِي مَالِي هَذَا فِتْنَةٌ فَجَاءَ إِلَى رَسُولِ اللهِ ﷺ فَذَكَرَ لَهُ الَّذِي أَصَابَهُ فِي حَائِطِهِ مِنَ الْفِتْنَةِ فَقَالَ يَا رَسُولَ اللهِ هُوَ صَدَقَةٌ فَضَعْهُ حَيْثُ شِئْتَ