A man pledged that his slave would be manumitted after his death. The Prophet ﷺ asked, "Who will buy the slave from me?" Nu'aim bin ʿAbdullah bought the slave and the Prophet ﷺ took its price and gave it to the owner. (Using translation from Bukhārī 2403)
رَسُولُ اللهِ ﷺ «مَنْ يَشْتَرِيهِ؟» فَاشْتَرَاهُ نُعَيْمُ بْنُ عَبْدِ اللهِ فَأَخَذَ رَسُولُ اللهِ ﷺ ثَمَنَهُ فَأَعْطَاهُ إِيَّاهُ