Mishkat al-Masabih 1748
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: مَاتَتْ زَيْنَبُ بِنْتُ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَبَكَتِ النِّسَاء فَجعل عُمَرُ يَضْرِبُهُنَّ بِسَوْطِهِ فَأَخَّرَهُ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِيَدِهِ وَقَالَ: «مهلا يَا عمر» ثُمَّ قَالَ: «إِيَّاكُنَّ وَنَعِيقَ الشَّيْطَانِ» ثُمَّ قَالَ: «إِنَّهُ مَهْمَا كَانَ مِنَ الْعَيْنِ وَمِنَ الْقَلْبِ فَمِنَ اللَّهِ عَزَّ وَجَلَّ وَمِنَ الرَّحْمَةِ وَمَا كَانَ مِنَ الْيَدِ وَمِنَ اللِّسَانِ فَمِنَ الشَّيْطَانِ» . رَوَاهُ أَحْمد
From Ibn ʿAbbas, who said: Zaynab, the daughter of the Messenger of Allah ﷺ, died, and the women wept. ʿUmar began to strike them with his whip, and the Messenger of Allah ﷺ held him back with his hand and said: "Gently, O ʿUmar." Then he said: "Beware of the croaking of Satan." Then he said: "Whatever comes from the eye and from the heart is from Allah, Mighty and Majestic, and from mercy, and whatever comes from the hand and from the tongue is from Satan." Reported by Ahmad.