The Messenger of Allah ﷺ said, "You will be sifted as dates are sifted from their debris. The best of you will depart and the worst of you will remain, so die if you can."
حدثنا عثمان بن أبي شيبة حدثنا طلحة بن يحيى عن يونس عن الزهري عن أبي حميد يعني مولى مسافع
قال رسول الله ﷺ لتنتقون كما ينتقى التمر من أغفاله فليذهبن خياركم وليبقين شراركم فموتوا إن استطعتم
[Hasan] Recorded by Hakim: 4/434 from the hadith of Talha through this chain, and he graded it sahih, and Dhahabi agreed with him. It has another version in Ibn Hibban's Sahih, no. 1833, and it has a corroborating narration in Bukhari, no. 6434, and another in Ibn Hibban, no. 1832, and Hakim graded it sahih: 4/434, and Dhahabi agreed with him.