Sunan Abi Dawud 2201
سنن أبي داود#2201Sahih‘Umar bin Al Khattab reported the Apostle of Allaah(ﷺ) as saying “Actions are to be judged only by intentions and a man will have only what he intended. When one’s emigration is to Allaah and His Apostle, his emigration is to Allaah and His Apostle but his emigration is to a worldly end at which he aims or to a woman whom he marries , his emigration is to that for which he emigrated
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Al-AlbaniSahih
Muhammad Muhyi Al-Din Abdul HamidSahih
Shuaib Al ArnautSahih
Zubair Ali ZaiSahih Bukhari (1) Sahih Muslim (1907)
In-book reference: 13:27