Abdullah bin Abbas reported,

"And among the people is he who worships Allah on an edge."He said, A man would come to Madinah, and if his wife gave birth to a boy and his mares foaled, he would say, "This is a good religion." But if his wife did not give birth and his mares did not foal, he would say, "This is a bad religion."

Bukhari 4742

Sahih

حدثني إبراهيم بن الحارث حدثنا يحيى بن أبي بكير حدثنا إسرائيل عن أبي حصين عن سعيد بن جبير

عن ابن عباس رضي الله عنهما قال

{ومن الناس من يعبد الله على حرف} قال كان الرجل يقدم المدينة فإن ولدت امرأته غلاما ونتجت خيله قال هذا دين صالح وإن لم تلد امرأته ولم تنتج خيله قال هذا دين سوء

البخاري 4742صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
And of the people is he who worships Allah on an edge. If he is touched by good, he is reassured by it; but if he is struck by trial, he turns on his face. He has lost this world and the Hereafter" to His saying, "That is what is the manifest loss
Numbering
Darussalam 4742
Bukhari 4742