Sunan an-Nasa'i, Book 48, Hadith 170 (Nasa'i 5218)
It was narrated that Anas bin Malik said:
"The Messenger of Allah said: 'Do not be so close to the Mushrikin that you can benefit from the light of their fires, and do not engrave Arabic (words) on your rings.'"