Riyad as-Salihin 955: On Praise of a Deceased Person
Abu Aswad relates: I came to Medina and was sitting with Umar ibn Khattab when a funeral passed and those present praised the goodness of the deceased. On this Umar said: It has become incumbent. Then another funeral passed and those present praised the goodness of the deceased. Again Umar said: It has become incumbent. Then a third funeral passed and those present condemned the vileness of the deceased. This time also Umar said: It has become incumbent. On this I inquired: Commander of the Faithful, what is it that has become incumbent? He answered: I said only that which the Holy Prophet had said. He said: Allah will admit into Paradise any Muslim whose goodness is attested to by four people. We asked: Should there be only three? He answered: Even if there should be only three. Then we asked: Should there be only two? He answered: Even if there should be only two. We refrained from asking him about one (Bokhari).