Given the task definition and input, reply with output. Given a sentence in Somali language, translate the sentence to English language keeping the meaning of the original sentence intact

Somali sentence: Wuxuu wax u barayay wanaagga addeecidda idiin kaxaysa xagga Eebe iyo Rasuulkiisa oo waxay u sheegeen abaalgudka weyn helayaan ma aha oo kaliya ee nolosha, laakiin sidaas oo dheeraad ah ee Aakhiro.
He taught them the virtues of obedience to Allah and His Messenger and told them of the great reward they would receive not only in this life but more so in the Hereafter.