That was the best duaa taught in its entirety by our beloved Prophet SAW to the sahabi, "Allahumma inni asalukal afwa wal aafiyata fid dunya wal akhirah" inshaaAllah we can come across more duas in munajat e maqbool.