Sahih al-Bukhari, Hadith 668

Narrated `Abdullah bin Al-Harith: Ibn `Abbas addressed us on a (rainy and) muddy day and when the Mu'adh-dhin said, "Come for the prayer" Ibn `Abbas ordered him to say, "Pray in your homes." The people began to look at one another with surprise as if they did not like it. Ibn `Abbas said, "It seems that you thought ill of it but no doubt it was done by one who was better than I (i.e. the Prophet). It (the prayer) is a strict order and I disliked to bring you out." Ibn `Abbas narrated the same as above but he said, "I did not like you to make you sinful (in refraining from coming to the mosque) and to come (to the mosque) covered with mud up to the knees."

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ عَبْدِ الْوَهَّابِ، قَالَ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، قَالَ حَدَّثَنَا عَبْدُ الْحَمِيدِ، صَاحِبُ الزِّيَادِيِّ قَالَ سَمِعْتُ عَبْدَ اللَّهِ بْنَ الْحَارِثِ، قَالَ خَطَبَنَا ابْنُ عَبَّاسٍ فِي يَوْمٍ ذِي رَدْغٍ، فَأَمَرَ الْمُؤَذِّنَ لَمَّا بَلَغَ حَىَّ عَلَى الصَّلاَةِ‏.‏ قَالَ قُلِ الصَّلاَةُ فِي الرِّحَالِ، فَنَظَرَ بَعْضُهُمْ إِلَى بَعْضٍ، فَكَأَنَّهُمْ أَنْكَرُوا فَقَالَ كَأَنَّكُمْ أَنْكَرْتُمْ هَذَا إِنَّ هَذَا فَعَلَهُ مَنْ هُوَ خَيْرٌ مِنِّي ـ يَعْنِي النَّبِيَّ صلى الله عليه وسلم ـ إِنَّهَا عَزْمَةٌ، وَإِنِّي كَرِهْتُ أَنْ أُحْرِجَكُمْ‏.‏ وَعَنْ حَمَّادٍ عَنْ عَاصِمٍ عَنْ عَبْدِ اللَّهِ بْنِ الْحَارِثِ عَنِ ابْنِ عَبَّاسٍ نَحْوَهُ، غَيْرَ أَنَّهُ قَالَ كَرِهْتُ أَنْ أُؤَثِّمَكُمْ، فَتَجِيئُونَ تَدُوسُونَ الطِّينَ إِلَى رُكَبِكُمْ‏.‏

sunnah.com