السلام عليكم ورحمة الله وبركاته أحسن الله إليكم Sheikh, can you pray two rak’at if you feel really tempted to do a sin?

Ustadh AbdulAziz al-Haqqan
You can recite the quran, mention Allah, go to some of your parents to sit with them, or any other thing to move away from haram and get your mind off of it.