This is called a vow and it is not recommended as the Prophet salla allahu alaihi wa sallam prohibited us from doing it and committing ourselves to something Allah didn’t oblige us to do!
This is called a vow and it is not recommended as the Prophet salla allahu alaihi wa sallam prohibited us from doing it and committing ourselves to something Allah didn’t oblige us to do!