Given a sentence in Somali language, translate the sentence to English language keeping the meaning of the original sentence intact

Somali sentence: 28 Markaasay Rabbiga u qayshadaan iyagoo dhibban, Oo isna wuxuu ka soo bixiyaa dhibaatooyinkooda.
28 Then they cry unto the LORD in their trouble, and he bringeth them out of their distresses.

Somali sentence: Markaas ayuu u baxay inuu Nabiga sallallaahu 'wa iyo markii aysan heli doorman ah, oo wuxuu ku yidhi,' O Rasuulka Alle, ma aqaano oo ila hadlay oo igu hore aad ahayd. 'Nabiga sallallaahu' wa ku jawaabay oo uu yidhi, Sida xaqiiqada 'bukaanka waqtiga isku dhaceen ugu horeysay.
Then he went to the Prophet sallallaahu 'alaihi wa sallam and when it does not find a doorman, and he said,' O Messenger of Allah, I do not know who spoke to me earlier was you. 'Prophet sallallaahu' alaihi wa sallam replied with his saying, 'Surely the patient at the time of the first collision.

Somali sentence: 4 Oo Rabbigu wuxuu quruumahaas ku samayn doonaa siduu ugu sameeyey Siixon iyo Coog iyo dalkoodiiba, kuwaas oo ahaa boqorradii reer Amor ee uu baabbi'iyey.
4 And the Lord shall do to them as he did to Sehon and Og the kings of the Amorrhites, and to their land, and shall destroy them.