'Ali (May Allah be pleased with him) reported: We were accompanying a funeral procession in Baqi' Al-Gharqad (graveyard in Al-Madinah) when the Messenger of Allah ﷺ proceeded towards us and sat down. We sat around him. He had a small stick in his hand. He was bending down his head and scraping the ground with the stick. He said, "There is none among you but has a place assigned for him either in the Jannah or in the Hell". The Companions said: "O Messenger of Allah, should we not depend upon what has been written for us (and give up doing good deeds)?'' The Messenger of Allah ﷺ said, "Carry on doing good deeds. Every one will find it easy to do such deeds (as will lead him to his destined place) for which he has been created". Al-Bukhari and Muslim.