Sunan Ibn Majah, Volume 3, Book 17, Hadith 2498 (DarusSalam) ⓘ
It was narrated from Abu Rafi' that the Messenger of Allah said: “The partner has more right to what is near him, so long as he is still a partner.”
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ الْجَرَّاحِ، حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنْ إِبْرَاهِيمَ بْنِ مَيْسَرَةَ، عَنْ عَمْرِو بْنِ الشَّرِيدِ، عَنْ أَبِي رَافِعٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " الشَّرِيكُ أَحَقُّ بِسَقَبِهِ مَا كَانَ " .
also referenced under: Hadith 2498 (Reference) & Book 17, Hadith 2594 (In-Book)