Al-Ilmam bi-Ahadith al-Ahkam 509
عَن يزِيد بن أبي حبيب أَن أَبَا الْخَيْر حَدثهُ: أَنه سمع عقبَة بن عَامر يَقُول: سمعتُ رَسُول الله ﷺ يَقُول: " كل امْرِئ فِي ظلّ صدقته حَتَّى يفصل بَين النَّاس "، أَو قَالَ: " حَتَّى يحكم بَين النَّاس ". قَالَ يزِيد: وَكَانَ أَبُو الْخَيْر لَا يخطئه يَوْم لَا يتَصَدَّق فِيهِ بِشَيْء وَلَو كعكة أَو بصلَة. قَالَ الْحَاكِم: صَحِيح عَلَى شَرط مُسلم، وَلم يخرجَاهُ.
From Yazid ibn Abi Habib, that Abu al-Khayr narrated to him that he heard ʿUqbah ibn ʿAmir say: I heard the Messenger of Allah ﷺ say: "Every person will be in the shade of his charity until judgement is passed between the people," or he said: "until judgement is given between the people." Yazid said: "And not a day would pass for Abu al-Khayr without his giving something in charity, even a piece of cake or an onion." Al-Hakim said: Sound according to the condition of Muslim, and they did not record it.