ʿĀmir; they are recorded in Ṣaḥīḥ Abī Dāwūd (1288).
2209 — “Whatever wealth from the ruler Allah brings you, without your asking for it or setting your heart upon it, then consume it and retain it as property.”
Aḥmad narrated it (5/195 and 6/452) through Qays ibn Saʿd, from a man who narrated to him from Abū al-Dardāʾ, who said: “The Messenger of Allah, peace and blessings be upon him, was asked about the wealth of the ruler, and he said”—then he cited it.
I say: Its narrators are trustworthy and are among Muslim’s narrators, apart from the unnamed man. However, it has a supporting report through al-Zuhrī, from al-Sāʾib ibn Yazīd, from Ḥuwayṭib ibn ʿAbd al-ʿUzzā, who said: ʿAbd Allāh al-Saʿdī informed me that he came to ʿUmar ibn al-Khaṭṭāb, may Allah be pleased with him, from Syria. He said: “Have I not been told that you hold one of the offices of the Muslims and are paid wages for it, yet you do not accept them?” He replied: “Yes. I have horses and servants, and I am well-off; I want my work to be charity for the Muslims.” ʿUmar said: “If that is what you want, then the Prophet, peace and blessings be upon him, used to give me wealth, and I would say, ‘Give it to one poorer than I am.’ Once he gave me some wealth, and I said to him, ‘Give it to one more in need of it than I am.’ He replied: ‘Whatever Allah brings you of this wealth, without your asking for it or setting your heart upon it, take it and retain it as property, or give it in charity. But whatever does not come to you in this manner, do not let your heart pursue it.’”
Al-Bukhārī narrated it (13/128–132, Fatḥ), as did Muslim (3/98–99), al-Nasāʾī (1/365), and al-Dārimī (1/388). It has other routes from ʿUmar; one of them is found in al-Ḍiyāʾ’s al-Mukhtārah (no. 83—my critical edition), and some of them are in al-Irwāʾ (3/364–365).