It is narrated from Sayyiduna Anas (may Allah be pleased with him) that "When the Prophet of Allah, Sayyiduna Musa (peace be upon him), called his companion's attention to the term that had been agreed between them, his companion said to him: 'Every goat that gives birth to a kid of a colour other than its own, that kid will be yours.' The narrator says: Then Sayyiduna Musa (peace be upon him) set about it and placed ropes at the water. When the goats saw those ropes, they were startled. Then, when its year came round, all of them gave birth to speckled kids except one goat, so Sayyiduna Musa (peace be upon him) took all those kids with him that year." All the narrators of the chain of this report are thiqat (trustworthy) and reliable.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب الهبات وفيه عطية الرجل ولده / 2970