Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:21705Abū Saʿīd b. Abū ʿAmr > Abū al-ʿAbbās al-Aṣam > al-Rabīʿ > al-Shāfiʿī > ʿAbdullāh b. al-Ḥārith > Ibn Jurayj

[Machine] I said to 'Ata, "A man wrote for himself a slave and then cancelled the contract. Can he keep the slave and the money which he had paid?" 'Ata said, "He should return him to the owner of the slaves." 'Umru bin Dinar and Salman bin Musa said the same.  

البيهقي:٢١٧٠٥أَخْبَرَنَا أَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو ثنا أَبُو الْعَبَّاسِ الْأَصَمُّ أنبأ الرَّبِيعُ أنبأ الشَّافِعِيُّ أنبأ عَبْدُ اللهِ بْنُ الْحَارِثِ عَنِ ابْنِ جُرَيْجٍ قَالَ

قُلْتُ لِعَطَاءٍ رَجُلٌ كَاتَبَ عَبْدًا لَهُ وَقَاطَعَهُ فَكَتَمَهُ مَالًا لَهُ وَعَبِيدًا وَمَالًا غَيْرَ ذَلِكَ؟ قَالَ هُوَ لِلسَّيِّدِ وَقَالَهَا عَمْرُو بْنُ دِينَارٍ وَسُلَيْمَانُ بْنُ مُوسَى