It was narrated that Ibn 'Abbas said:
The sun was eclipsed at the time of the Messenger of Allah (ﷺ), and the Messenger of Allah (ﷺ) prayed and the people with him. He stood for a long time, almost as long as it takes to recite Soorat al-Baqarah. Then he bowed for a long time, then he raised his head and stood for a long time that was shorter than the first time. Then he bowed for a long time, that was shorter than the first time, then he prostrated, then he got up and stood for a long time, which was shorter than the first time. Then he bowed for a long time which was shorter than the first time. Then he raised his head and stood for a long time, which was shorter than the first time. Then he bowed for a long time which was shorter than the first time. Then he prostrated, then no sooner had he finished, but the sun became clear. He said: "The sun and the moon are two of the signs of Allah; they do not become eclipsed for the death or birth of anyone. If you see that, then remember Allah.” They said: O Messenger of Allah, we saw you reaching out to take something when you were standing, then we saw you step backwards. He said: "I saw Paradise, and I reached out to take a bunch of grapes from it. If I had taken it, you would have eaten from it for as long as this world remained. And I saw Hell, and I have never seen anything like what I have seen today. I saw that most of its people are women." They said: Why is that, O Messenger of Allah? He said: "Because of their ungratefulness.” It was said: Are they ungrateful to Allah? He said: “They are ungrateful to their husbands and they are ungrateful for kind treatment. If you treat one of them kindly for a lifetime, then she sees something from you, she says, “I have never seen anything good from you!"