Hadith 480
وَبِهَذَا الْإِسْنَادِ، عَنْ رَسُولِ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: ((إِنَّ الْمَمْلُوكَ إِذَا تُوُفِّيَ وَهُوَ يُحْسِنُ عِبَادَةَ رَبِّهِ وَيَنْصَحُ لِسَيِّدِهِ يُعْتِقُهُ اللَّهُ)).
With the same (previous) chain of narration, it is narrated from the Messenger of Allah, peace and blessings be upon him, that he said: "When a slave dies in such a state that he worships his Lord well and is also sincere towards his master, then Allah frees him (from Hell)."
Hadith Reference مسند اسحاق بن راهويه / كتاب العتق و المكاتب / 480
Hadith Takhrij «اسناده ضعيف ، بصح بطرقه ، بخاري ، كتاب العتق ، باب العبد اذا احسن عبادة ربه الخ ، رقم : 2546 . مسلم ، كتاب الايمان ، باب ثواب العبد واجره الخ ، رقم : 1667 .»