I have 2 cases two discuss.
- I offered my salah well within time at my home, alone. I walked out of my house and saw a few of my friends who were going to the masjid to pray the same salah as a group (jamaat). I joined them and prayed the same salah again as a member of the group.
- I offered my salah. But my mind was not in it. I am not sure if I prayed 3 or 4 rakahs. Not sure if I did the two sujoods or not. Feeling discontent, I offered it again.
Are these actions fine within Islam? Is it makrooh/mushtabbh to do so? Please answer with evidences/references.