Hadith.3388 - Narrated by Hammad ibn Isa, from someone who informed him, from Hariz, from Abu Ja'far Imam Muhammad ibn Ali Al-Baqir عليه السلام:
"The first person upon whom casting lots (Qur'ah) was performed was Maryam (Mary), the daughter of Imran. This is based on the saying of Allah
سبحانه وتعالى, the Exalted:
'And you were not with them when they cast their pens as to which of them should be responsible for Maryam.' (Surah Aal-E-Imran
3:44).
The lots were six in number. Then they cast lots for Yunus
عليه السلام (Jonah
عليه السلام) when he sailed with a group of people. When the ship was caught in turbulence, they cast lots, and the lot fell upon Yunus three times."
Imam
عليه السلام continued: "Yunus
عليه السلام proceeded to the edge of the ship, and there was the whale with its mouth wide open. So he threw himself in.
Similarly, when Abdul Muttalib
عليه السلام had nine sons, he vowed that if Allah
سبحانه وتعالى granted him a tenth son, he would sacrifice him. When Abdullah
عليه السلام was born, he could not bear to sacrifice him, as the Prophet (peace be upon him and his family) was in his lineage.
So Abdul Muttalib
عليه السلام brought ten camels and cast lots between them and Abdullah
عليه السلام. The lot fell on Abdullah
عليه السلام. He added ten more camels and repeated the process. The lot continued to fall on Abdullah
عليه السلام, and he kept increasing the camels by ten each time.
Finally, when the number of camels reached one hundred, the lot fell on the camels.
Abdul Muttalib
عليه السلام then said: 'I have not yet done justice to my Lord
عز وجل,' and repeated the lot three more times.
When it fell on the camels each time, he said: 'Now I know my Lord
عز وجل is satisfied.'
So he sacrificed the camels."