Salat al-Shukr, the prayer of gratitude, is performed to express thankfulness to Allah for His blessings. While it is not obligatory, it is a recommended act of worship. To perform it:
1. **Choose a Clean Space**: Find a clean and quiet place to pray.
2. **Make Niyyah (Intention)**: Formulate the intention in your heart to offer the prayer of gratitude.
3. **Perform Wudu (Ablution)**: Ensure you are in a state of ritual purity.
4. **Pray Two Rak’ahs**: Perform two units of prayer (rak’ahs) as you would in regular prayers, reciting Al-Fatiha and another surah in each rak’ah.
5. **Make Dua**: After completing the prayer, make personal supplications (dua) to thank Allah and express gratitude.
The key is sincerity and heartfelt thanks for the blessings received.