Sunan Ibn Majah, Book 17, Hadith 8 (Ibn Majah 2500)

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.”