During the lifetime of David, when Solomon was still a lad, he had settled another difficult case in an equally brilliant way. A wealthy man had sent his son on a protracted business trip to Africa. On his return he found that his father had died in the meantime, and his treasures had passed into the possession of a crafty slave, who had succeeded in ridding himself of all the other slaves, or intimidating them.
In vain the rightful heir urged his claim before King David. As he could not bring witnesses to testify for him, there was no way of dispossessing the slave, who likewise called himself the son of the deceased. The child Solomon heard the case, and he devised a method of arriving at the truth. He had the father's corpse exhumed, and he dyed one of the bones with the blood first of one of the claimants, and then of the other.
The blood of the slave showed no affinity with the bone, while the blood of the true heir permeated it. So the real son secured his inheritance.