'Abdullah bin 'Amr bin Al-'As (May Allah be pleased with them) said:
The Messenger of Allah (ﷺ) said, "He who desires to be rescued from the fire of Hell and to enter Jannah, should die in a state of complete belief in Allah and the Last Day, and should do unto others what he wishes to be done unto him."[Muslim]. (IT)
App reference (IT): Book 18, Hadith 56 (IT)
Arabic/English book reference (IT): Book 18, Hadith 1566 (IT)