(164) باب فِي الرَّجُلِ يَقُولُ أَنْعَمَ اللَّهُ بِكَ عَيْنًا
Narrated Imran ibn Husayn:
In the pre-Islamic period we used to say: "May Allah make the eye happy for you," and "Good morning" but when Islam came, we were forbidden to say that. AbdurRazzaq said on the authority of Ma'mar: It is disapproved that a man should say: "May Allah make the eye happy for you," but there is no harm in saying: "May Allah make your eye happy.
Reference: Sunan Abi Dawud 5227
In-book reference: Book 43, Hadith 455
English translation: Book 42, Hadith 5208