[Machine] The Messenger of Allah ﷺ said: "No one offers a sacrifice (of an animal) to the sun until it sets, except that his sins will set with it, until he returns as he was when his mother gave birth to him." This is a weak hadith, and what comes before it is suspended (mawquf), and the hadith of Umm Hushayn is sahih (authentic). And with Allah is the success.
أَنَّ رَسُولَ اللهِ ﷺ قَالَ مَا مِنْ مُحْرِمٍ يَضْحَى لِلشَّمْسِ حَتَّى تَغْرُبَ إِلَّا غَرَبَتْ بِذُنُوبِهِ حَتَّى يَعُودَ كَمَا وَلَدَتْهُ أُمُّهُ هَذَا إِسْنَادٌ ضَعِيفٌ وَمَا قَبْلَهُ مَوْقُوفٌ وَحَدِيثُ أُمِّ الْحُصَيْنِ حَدِيثٌ صَحِيحٌ وَبِاللهِ التَّوْفِيقُ