Sunan an-Nasa'i, Book 34, Hadith 16 (Nasa'i 3743)

Yazid bin Ziyad bin Abi Al-Ja'd narrated from Habib bin Abi Thabit, who said:

"I heard Ibn 'Umar say: 'The Messenger of Allah forbade Ruqba and said: "Whoever is given something on the basis of Ruqba, it belongs to him."'"