Hadithcore
Riyad as-Salihin, 1473

'Ali (May Allah be pleased with him) reported:

The Messenger of Allah (ﷺ) said to me, "Recite: 'Allahumma-hdini wa saddidni (O Allah! Direct me to the Right Path and make me adhere to the Straight Path)." Another narration is: 'Allahumma inni as'aluk-alhuda was-sadad (I beg You for guidance and uprightness)." <b>[Muslim]</b>.

وعن علي رضي الله عنه قال‏:‏ قال لي رسول الله صلى الله عليه وسلم‏:‏ ‏"‏قل‏:‏ اللهم اهدني، وسددني‏"‏‏.‏ وفي رواية‏:‏ ‏"‏اللهم إني أسألك الهدى، والسداد‏"‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Book 16, Hadith 9
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) One should be keen to improve and rectify his deeds by following the Sunnah and having a sincere intention.<br> 2) The Prophet’s guidance is the means to uprightness and protection from error, so it behooves a believer to follow the way of the infallible Prophet (may Allah’s peace and blessings be upon him).<br> <br> <br> <br> <b>Words in the Hadith:</b><br> Sadād: Uprightness and correctness of all affairs. What is meant by the Hadith is that one asks Allah for guidance and correctness in all his affairs.