Sahih al-Bukhari 52:14
Narrated An-Nu`man bin Bashir:
My mother asked my father to present me a gift from his property; and he gave it to me after some hesitation. My mother said that she would not be satisfied unless the Prophet (ﷺ) was made a witness to it. I being a young boy, my father held me by the hand and took me to the Prophet (ﷺ) . He said to the Prophet, "His mother, bint Rawaha, requested me to give this boy a gift." The Prophet (ﷺ) said, "Do you have other sons besides him?" He said, "Yes." The Prophet (ﷺ) said, "Do not make me a witness for injustice." Narrated Ash-Shu`bi that the Prophet (ﷺ) said, "I will not become a witness for injustice."
Reference
Sahih al-Bukhari 52:14
In-book reference
Book 52, Hadith 14
Arabic Text
حَدَّثَنَا عَبْدَانُ، أَخْبَرَنَا عَبْدُ اللَّهِ، أَخْبَرَنَا أَبُو حَيَّانَ التَّيْمِيُّ، عَنِ الشَّعْبِيِّ، عَنِ النُّعْمَانِ بْنِ بَشِيرٍ ـ رضى الله عنهما ـ قَالَ سَأَلَتْ أُمِّي أَبِي بَعْضَ الْمَوْهِبَةِ لِي مِنْ مَالِهِ، ثُمَّ بَدَا لَهُ فَوَهَبَهَا لِي فَقَالَتْ لاَ أَرْضَى حَتَّى تُشْهِدَ النَّبِيَّ صلى الله عليه وسلم. فَأَخَذَ بِيَدِي وَأَنَا غُلاَمٌ، فَأَتَى بِيَ النَّبِيَّ صلى الله عليه وسلم فَقَالَ إِنَّ أُمَّهُ بِنْتَ رَوَاحَةَ سَأَلَتْنِي بَعْضَ الْمَوْهِبَةِ لِهَذَا، قَالَ " أَلَكَ وَلَدٌ سِوَاهُ ". قَالَ نَعَمْ. قَالَ فَأُرَاهُ قَالَ " لاَ تُشْهِدْنِي عَلَى جَوْرٍ ". وَقَالَ أَبُو حَرِيزٍ عَنِ الشَّعْبِيِّ " لاَ أَشْهَدُ عَلَى جَوْرٍ ".