# النية

> سَمِعتُ رَسُولَ اللهِ - صلى الله عليه وسلم - يقُولُ: «إنّمَا الأَعْمَالُ بالنِّيّاتِ، وَإِنَّمَا لِكُلِّ امرِىءٍ مَا نَوَى، فَمَنْ كَانَتْ هجرته إلى الله ورسوله، فهجرته إلى الله ورسوله، ومن كانت هِجْرَتُهُ لِدُنْيَا يُصيبُهَا، أَوْ امْرَأَةٍ يَنْكَحُهَا، فَهِجْرَتُهُ إِلى مَا هَاجَرَ إِلَيْه». مُتَّفَقٌ عَلَى صِحَّتِهِ

قَالَ اللهُ تَعَالَى: {وَمَا أُمِرُوا إِلَاّ لِيَعْبُدُوا اللَّهَ مُخْلِصِينَ لَهُ الدِّينَ حُنَفَاءَ وَيُقِيمُوا الصَّلاةَ وَيُؤْتُوا الزَّكَاةَ وَذَلِكَ دِينُ الْقَيِّمَةِ} \[البينة: ٥]، وَقالَ تَعَالَى: {لَنْ يَنَالَ اللَّهَ لُحُومُهَا وَلَا دِمَاؤُهَا وَلَكِنْ يَنَالُهُ التَّقْوَى مِنْكُمْ} \[الحج: ٣٧]، وَقالَ تَعَالَى: {قُلْ إِنْ تُخْفُوا مَا فِي صُدُورِكُمْ أَوْ تُبْدُوهُ يَعْلَمْهُ اللَّهُ} \[آل عمران: ٢٩].


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://islam.0x88.online/alktab-walsnh/alnyh.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
