Alma 19:1-12

And it came to pass that after two days and two nights they were about to take his body and lay it in a sepulcher, which they had made for the purpose of burying their dead. Now the queen having heard of the fame of Ammon, therefore she sent and desired that he should come in unto her. And it came to pass that Ammon did as he was commanded, and went in unto the queen, and desired to know what she would that he should do. And she saith unto him: The servants of my husband have made it known unto me that thou art a prophet of a Holy God, and that thou hast power to do many mighty works in his name; Therefore, if this is the case, I would that ye should go in and see my husband, for he has been laid upon his bed for the space of two days and two nights; and some say that he is not dead, but others say that he is dead and that he stinketh, and that he ought to be placed in the sepulcher; but as for myself, to me he doth not stink. Now, this was what Ammon desired, for he knew that king Lamoni was under the power of God; he knew that the dark veil of unbelief being cast away from his mind, and the light which did light up his mind, which was the light of the glory of God, which was a marvelous light of his goodness—yea, this light had infused such joy into his soul, the cloud of darkness having been dispelled, and the light of everlasting light was lit up in his soul, yea, he knew that this had overcame his natural frame, and he was carried away in God— Therefore, what the queen desired of him was his only desire. Therefore, he went in to see the king according as the queen had desired him; and he saw the king, and he knew that he was not dead. And he saith unto the queen: He is not dead, but he sleepeth in God, and on the morrow he shall rise again; therefore bury him not. And Ammon saith unto her: Believest thou this? And she said unto him: I have had no witness save thy word, and the word of our servants; nevertheless I believe that it shall be according as thou hast said. And Ammon said unto her: Blessed art thou because of thy exceeding faith; I say unto thee, woman, there has not been such great faith among all the people of the Nephites.  And it came to pass that she watched over the bed of her husband, from that time even until that time on the morrow which Ammon had appointed that he should rise. And it came to pass that he arose, according to the words of Ammon; and as he arose, he stretched forth his hand unto the woman, and said: Blessed be the name of God, and blessed art thou.

The power of God is a mystery that cannot be explained at times. However the miracle here is great example of how God can use his power for the betterment of the faithful. By allowing the King to go through this God opened up a door for the king to convert his people to Christ. We have to be thankful that God does still do events like this today and we still are able to save many lives because of these miracles.