It is narrated from Hazrat Anas (may Allah be pleased with him) that at the time of departing from this world, the general advice of the Prophet (peace and blessings be upon him) was regarding prayer and taking care of slaves, to the extent that even when the state of rattling (of the throat) overtook him, these words were still flowing from his blessed tongue.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 12169
Hadith Gradingحکم دارالسلام:حديث صحيح إلا أن سليمان التيمي اختلف عليه وخولف فيه