It is narrated from Sa'id bin al-Musayyib (may Allah have mercy on him) that "he saw no harm in two people who make a mutual wager in a race, but he disliked that they should part from one another on that basis alone (without including a third party)."
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الجهاد / 2007
Hadith Gradingمحدثین:إسناده صحيح
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :هذا الأثر إسناده صحيح على شرط الشيخين. » «انفرد به المصنف من هذا الطريق»