It is narrated from Ibn Abbas (may Allah be pleased with him) that he said: There is nothing (prohibited) in ambergris; it is just a thing that the sea throws up on the shore.
Hadith Referenceمسند الإمام الشافعي / كتاب الزكاة / 736
Hadith Takhrijاسناده صحیح اخرجه البيهقي : 4 / 146 ۔ وابن ابي شيبة رقم : 10059 ۔ والبخاري تعليقا قبل الحديث (1498)۔