Abu Huraira reported Allah's Messenger (ﷺ) as saying:He who took an oath and (later on) found another thing better than that, he should do that which is better, and expiate for the vow (broken by him)
The chain is ordered from the source of the saying to the compiler: 1 = the speaker/first transmitter, the following links those who passed it on in turn, and at the bottom Muslim who compiled the work. Click a narrator to list every hadith in which he appears; the number in parentheses is how many hadiths across the collections on this site the narrator appears in.